vertx / io.vertx.kotlin.kafka.client.producer / io.vertx.kafka.client.producer.KafkaProducer / partitionsForAwait

# partitionsForAwait

`suspend fun <K, V> KafkaProducer<K, V>.partitionsForAwait(topic: String): List<PartitionInfo>`

Get the partition metadata for the give topic.

### Parameters

`topic` - topic partition for which getting partitions info

`handler` - handler called on operation completed

Returncurrent
KafkaProducer instance *