open fun partitionsFor(topic: String, handler: Handler<AsyncResult<MutableList<PartitionInfo>>>): KafkaConsumer<K, V>
Get metadata about the partitions for a given topic.
topic - topic partition for which getting partitions info
handler - handler called on operation completed
Return
current KafkaConsumer instance