misha_cafex v0.0.6 Cafex.Protocol.Decoder behaviour

Kafka server response decoder implementation specification.

Summary

Types

The modules which implement the Decoder interface

The decode function in each decoder will return there own response struct

Callbacks

Decode the response message in the Kafka server response

Types

decoder ::
  Cafex.Protocol.Metadata |
  Cafex.Protocol.Produce |
  Cafex.Protocol.Fetch |
  Cafex.Protocol.Offset |
  Cafex.Protocol.GroupCoordinator |
  Cafex.Protocol.OffsetCommit |
  Cafex.Protocol.OffsetFetch |
  Cafex.Protocol.JoinGroup |
  Cafex.Protocol.SyncGroup |
  Cafex.Protocol.LeaveGroup |
  Cafex.Protocol.Heartbeat |
  Cafex.Protocol.ListGroups |
  Cafex.Protocol.DescribeGroups

The modules which implement the Decoder interface

See Cafex.Protocol

Callbacks

decode(binary)

Specs

decode(binary) :: response

Decode the response message in the Kafka server response