open fun seek(topicPartition: TopicPartition, offset: Long): KafkaConsumer<K, V>
Overrides the fetch offsets that the consumer will use on the next poll.
topicPartition - topic partition for which seek
offset - offset to seek inside the topic partition
Return
current KafkaConsumer instance
open fun seek(topicPartition: TopicPartition, offset: Long, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>
Overrides the fetch offsets that the consumer will use on the next poll.
topicPartition - topic partition for which seek
offset - offset to seek inside the topic partition
completionHandler - handler called on operation completed
Return
current KafkaConsumer instance