View Source Kayrock.MessageSet (kayrock v0.2.0)

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

Summary

Types

@type t() :: %Kayrock.MessageSet{magic: term(), messages: term()}

Functions

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

deserialize(data, magic)

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