title: Send bulk of messages Kafka Producer
body: <p>I'm using Kafka.</p>
  <p>I have a list with 10k jsons.</p>
  <p>Currently I send the Jsons as follow:</p>
  <pre><code>for(int i=0 ;i&lt; jsonList.size(); i++){
       ProducerRecord&lt;K,V&gt; record = new ProducerRecord(topic, jsonList[i]);
       producer.send(record);
  }
  </code></pre>
  <p>Send each message.</p>
  <p>I want to send the list to kafka and make kafka to send it json after json (not one message with all json strings), Something like:</p>
  <pre><code>ProducerRecord&lt;K,V&gt; record = new ProducerRecord(topic, jsonList);
  producer.send(record);
  </code></pre>
  <p>How can I do it?</p>
  <p>Thanks</p>