vertx / io.vertx.rxjava.kafka.client.consumer / KafkaConsumer / rxEndOffsets

rxEndOffsets

open fun rxEndOffsets(topicPartition: TopicPartition): Single<Long>

Get the last offset for the given partition. The last offset of a partition is the offset of the upcoming message, i.e. the offset of the last available message + 1.

Parameters

topicPartition - the partition to get the end offset.

Return