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

partitionsFor

abstract fun partitionsFor(topic: String, handler: Handler<AsyncResult<MutableList<PartitionInfo>>>): KafkaReadStream<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 KafkaReadStream instance