title: How to set Kafka parameters from a properties file?
body: <p>What I am doing currently is as below:</p>
  
  <pre><code>val topic = "mytopic"
  val zkhosts = "localhost"
  val zkports = "2181"
  </code></pre>
  
  <p>Setting it in my code and then sending it to kafkastream function works, but I want to read it from <code>.properties</code> file. Is there any possible solution?</p>