title: Kafka producer to read from a local Linux folder
body: <p>I am writing a Kafka producer<br>
  It has to read data from a local Linux folder and write to my topic<br>
  Is it possible to do something like that?</p>
  
  <p>What would be my code snippet here (in Scala)</p>
  
  <p>Business case -</p>
  
  <p>Real time data will be written on a local Linux folder in form of CSV files here - /data/data01/pharma/2017/</p>
  
  <p>How can I move this data to a topic I created?</p>
  
  <p>My consumer will read this data and add to Spark streaming data frame for processing</p>