Kafka producer API supports sending a single message and as well sending list of messages with two different methods. I believe irrespective of either of send method used, producer internally batches batch.num.messages and sends them in bulk. Is there any advantage in performance of using send(List<KeyedMessage<K,V>> messages)to send multiple messages over sending messages one by one using send(KeyedMessage<K,V> message) ?
-- Thanks, Raja.