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

beginningOffsets

open fun beginningOffsets(topicPartition: TopicPartition, handler: Handler<AsyncResult<Long>>): Unit

Get the first offset for the given partitions.

Parameters

topicPartition - the partition to get the earliest offset.

handler - handler called on operation completed. Returns the earliest available offset for the given partition