ReadonlyattributesBatch attributes (compression, timestamp type, transactional).
ReadonlybaseBase offset in the partition log.
ReadonlybaseBase sequence number, or -1 if not using idempotent producer.
ReadonlybaseBase timestamp (milliseconds since epoch).
ReadonlycrcCRC-32C of the record batch data (from attributes through records).
ReadonlylastOffset delta of the last record in the batch.
ReadonlymagicMagic byte (always 2 for this format).
ReadonlymaxMax timestamp in the batch.
ReadonlypartitionPartition leader epoch at the time of append.
ReadonlyproducerProducer epoch, or -1 if not using idempotent producer.
ReadonlyproducerProducer ID for idempotent/transactional producers, or -1 if none.
ReadonlyrecordsRecords in this batch.
A Kafka RecordBatch (magic=2).
This is the on-wire format for batches of records in Kafka 0.11+.