CommittableConsumerRecord

sealed abstract class CommittableConsumerRecord[F[_], +K, +V]

CommittableConsumerRecord is a Kafka record along with an instance of CommittableOffset, which can be used commit the record offset to Kafka. Offsets are normally committed in batches, either using CommittableOffsetBatch or via pipes, like commitBatchWithin. If you are not committing offsets to Kafka then you can use record to get the underlying record and also discard the offset.

While normally not necessary, CommittableConsumerRecord#apply can be used to create a new instance.

CommittableConsumerRecord is a Kafka record along with an instance of CommittableOffset, which can be used commit the record offset to Kafka. Offsets are normally committed in batches, either using CommittableOffsetBatch or via pipes, like commitBatchWithin. If you are not committing offsets to Kafka then you can use record to get the underlying record and also discard the offset.

While normally not necessary, CommittableConsumerRecord#apply can be used to create a new instance.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

A CommittableOffset instance, providing a way to commit the record offset to Kafka. This is normally done in batches as it achieves better performance. Pipes like commitBatchWithin use CommittableOffsetBatch to batch and commit offsets.

A CommittableOffset instance, providing a way to commit the record offset to Kafka. This is normally done in batches as it achieves better performance. Pipes like commitBatchWithin use CommittableOffsetBatch to batch and commit offsets.

The Kafka record for the CommittableConsumerRecord. If you are not committing offsets to Kafka, simply use this to get the ConsumerRecord and discard the offset.

The Kafka record for the CommittableConsumerRecord. If you are not committing offsets to Kafka, simply use this to get the ConsumerRecord and discard the offset.