View Source Kayrock.MemberAssignment (kayrock v0.2.0)

Code to serialize/deserialize Kafka consumer group member assignments

See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-SyncGroupRequest

Summary

Types

@type t() :: %Kayrock.MemberAssignment{
  partition_assignments: [Kayrock.MemberAssignment.PartitionAssignment.t()],
  user_data: binary(),
  version: integer()
}

Functions

@spec deserialize(binary()) :: {t(), binary()}
Link to this function

serialize(member_assignment)

View Source
@spec serialize(t()) :: iodata()