vertx / io.vertx.kafka.client.producer / KafkaProducer / partitionsFor

partitionsFor

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

Get the partition metadata for the give topic.

Parameters

topic - topic partition for which getting partitions info

handler - handler called on operation completed

Return
current KafkaProducer instance