vertx / io.vertx.kafka.client.consumer / KafkaConsumer / partitionsFor

partitionsFor

abstract fun partitionsFor(topic: String, handler: Handler<AsyncResult<MutableList<PartitionInfo>>>): KafkaConsumer<K, V>

Get metadata about the partitions for a given topic.

Parameters

topic - topic partition for which getting partitions info

handler - handler called on operation completed

Return
current KafkaConsumer instance