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