case classCommitRecordMetadataAndOffset(appendedBatchOffset: Option[Long], offsetAndMetadata: OffsetAndMetadata) extends Product with Serializable
We cache offset commits along with their commit record offset. This enables us to ensure that the latest offset
commit is always materialized when we have a mix of transactional and regular offset commits. Without preserving
information of the commit record offset, compaction of the offsets topic it self may result in the wrong offset commit
being materialized.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
We cache offset commits along with their commit record offset. This enables us to ensure that the latest offset commit is always materialized when we have a mix of transactional and regular offset commits. Without preserving information of the commit record offset, compaction of the offsets topic it self may result in the wrong offset commit being materialized.