kayrock v0.1.11 Kayrock.MessageSet View Source

Represents a set of messages with the v0 or v1 format

This is the old format that KafkaEx supported

See https://kafka.apache.org/documentation/#recordbatch

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Kayrock.MessageSet{magic: term(), messages: term()}

Link to this section Functions

Link to this function

deserialize(data) View Source
deserialize(binary()) :: t()

Link to this function

deserialize(data, magic) View Source

Link to this function

serialize(message_set) View Source
serialize(t()) :: iodata()