abstract fun seek(topicPartition: TopicPartition, offset: Long): KafkaReadStream<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 KafkaReadStream instance
abstract fun seek(topicPartition: TopicPartition, offset: Long, completionHandler: Handler<AsyncResult<Void>>): KafkaReadStream<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 KafkaReadStream instance