title: csv data streaming using Kafka
body: <p>I am trying to send csv file data throguh producer into kafka topic then on the consumer side i am listening the event.</p>
  
  <p>Producer is a command line. I am sending the csv file using below command - </p>
  
  <pre><code>kafka-console-producer.bat --broker-list localhost:9092 --topic freshTopic &lt; E:\csv\sample.csv
  </code></pre>
  
  <p>I am sucessfully listen the event on consumer side as well.</p>
  
  <p>Now I have to save that data in some database like elasticsearch. For this i have to convert csv records into DataModel. I read below tutorial for it but not able to understand that how can i write this in java. So Can anyone help me here how can i convert csv file data into datamodel? Thanks in advance.</p>
  
  <p><a href="https://medium.com/@eswar.kumar/csv-data-streaming-using-kafka-schema-registry-and-avro-920a1de63016" rel="nofollow noreferrer">Csv data streaming using kafka</a></p>