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

seekToEnd

open fun seekToEnd(topicPartition: TopicPartition): KafkaConsumer<K, V>

Seek to the last offset for each of the given partition.

Parameters

topicPartition - topic partition for which seek

Return
current KafkaConsumer instance

open fun seekToEnd(topicPartitions: MutableSet<TopicPartition>): KafkaConsumer<K, V>

Seek to the last offset for each of the given partitions.

Parameters

topicPartitions - topic partition for which seek

Return
current KafkaConsumer instance

open fun seekToEnd(topicPartition: TopicPartition, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>

Seek to the last offset for each of the given partition.

Parameters

topicPartition - topic partition for which seek

completionHandler - handler called on operation completed

Return
current KafkaConsumer instance

open fun seekToEnd(topicPartitions: MutableSet<TopicPartition>, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>

Seek to the last offset for each of the given partitions.

Parameters

topicPartitions - topic partition for which seek

completionHandler - handler called on operation completed

Return
current KafkaConsumer instance