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

# partitionsFor

`open 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