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
topic
Return current KafkaProducer instance *