View Source RabbitMQStream.OsirisChunk (rabbitmq_stream v0.4.0-rc.2)
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() :: %{ chunk_type: chunk_type(), num_entries: non_neg_integer(), num_records: non_neg_integer(), timestamp: integer(), epoch: non_neg_integer(), chunk_id: non_neg_integer(), chunk_crc: integer(), data_length: non_neg_integer(), trailer_length: non_neg_integer(), data_entries: binary() | [ChunkTrackSnapshot.t()], trailer_entries: binary() }