Asynchronously commits offsets to Kafka
Asynchronously commits offsets to Kafka
Synchronously commits offsets to Kafka
is the offsets batch for a provided topics and partitions.
is the offsets batch for a provided topics and partitions. Make sure that each of them was received from one KafkaConsumerObservable.
Adds new CommittableOffset to batch.
Adds new CommittableOffset to batch. Added offset replaces previous one specified for same topic and partition.
Batch of Kafka offsets which can be committed together. Can be built from offsets sequence by CommittableOffsetBatch#apply method. You can also use CommittableOffsetBatch#empty method to create empty batch and add offsets to it using updated method.
WARNING: Order of the offsets is important. Only the last added offset for topic and partition will be committed to Kafka.