vertx / io.vertx.kotlin.kafka.client.consumer / io.vertx.kafka.client.consumer.KafkaConsumer / partitionsForAwait

partitionsForAwait

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

Get metadata about the partitions for a given topic.

Parameters

topic - topic partition for which getting partitions info

handler - handler called on operation completed

Returncurrent
KafkaConsumer instance *