Batching for async sends occur here : https://github.com/apache/kafka/blob/0.8/core/src/main/scala/kafka/producer/async/ProducerSendThread.scala#L78