Skip to main content

Module record

Module record 

Source

Structsยง

Record ๐Ÿ”’
The minimal storage unit in the Kafka log store.
RecordMeta
The metadata of a record.

Enumsยง

RecordType
The type of a record.

Constantsยง

ESTIMATED_META_SIZE ๐Ÿ”’
The estimated size in bytes of a serialized RecordMeta. A record is guaranteed to have sizeof(meta) + sizeof(data) <= max_batch_byte - ESTIMATED_META_SIZE.
VERSION ๐Ÿ”’
The current version of Record.

Functionsยง

convert_to_kafka_records ๐Ÿ”’
convert_to_multiple_entry ๐Ÿ”’
convert_to_naive_entry ๐Ÿ”’
is_record_meta_key ๐Ÿ”’
Returns whether a key is a JSON object with a version field, i.e. whether it may have been written as a RecordMeta key.
maybe_emit_entry ๐Ÿ”’
For type of Entry::Naive Entry:
remaining_entries
Constructs entries from buffered_records