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