vertx / io.vertx.kafka.client.consumer / KafkaReadStream / seekToEnd

seekToEnd

abstract fun seekToEnd(topicPartitions: MutableSet<TopicPartition>): KafkaReadStream<K, V>

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

Parameters

topicPartitions - topic partition for which seek

Return
current KafkaReadStream instance

abstract fun seekToEnd(topicPartitions: MutableSet<TopicPartition>, completionHandler: Handler<AsyncResult<Void>>): KafkaReadStream<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 KafkaReadStream instance