suspend fun <K, V> KafkaProducer<K, V>.partitionsForAwait(topic: String): List<PartitionInfo>
Get the partition metadata for the give topic.
topic
- topic partition for which getting partitions info
handler
- handler called on operation completed
Returncurrent
KafkaProducer instance *