View Source RabbitMQStream.OsirisChunk (rabbitmq_stream v0.4.1)
Struct that holds the data of a Osiris chunk, which is the format used by RabbitMQ Stream to store the stream data.
You can find more information at their Github repo
Summary
Types
@type chunk_type() :: :chunk_user | :chunk_track_delta | :chunk_track_snapshot
@type t() :: %RabbitMQStream.OsirisChunk{ chunk_crc: integer(), chunk_id: non_neg_integer(), chunk_type: chunk_type(), data_entries: [binary()] | [ChunkTrackSnapshot.t()], data_length: non_neg_integer(), epoch: non_neg_integer(), num_entries: non_neg_integer(), num_records: non_neg_integer(), timestamp: integer(), trailer_entries: [binary()] | nil, trailer_length: non_neg_integer() }