Module record

Module record 

Source

Structs§

Batch
BatchHeader
ConsumerRecord
Record that can be used by Consumer which needs access to metadata
RawRecords
A type describing Raw records This structs decodes and encode its bytes as it is. Just the raw bytes of its internal vector. When decoding, please be sure that your src buffer have the exact number of bytes.
Record
RecordData
A type containing the data contents of a Record.
RecordHeader
RecordKey
A key for determining which partition a record should be sent to.
RecordSet
Represents sets of batches in storage
ReplicaKey
SchemaId

Enums§

PartitionError

Constants§

BATCH_FILE_HEADER_SIZE
BATCH_HEADER_SIZE
BATCH_PREAMBLE_SIZE
size of the offset and length
NO_TIMESTAMP

Traits§

BatchRecords
PartitionOffset
Offset information about Partition
ProducerBatchHeader
used for modifying timestamp as producer

Functions§

create_partition_name
decompose_partition_name

Type Aliases§

MemoryRecords
A type describing in-memory records
Offset
Size
Size64