title: Not clear about the meaning of auto.offset.reset and enable.auto.commit in Kafka
body: <p>I am new to Kafka,and I don't really understand the meaning of Kafka configuration, can anyone explain more understandable to me ! </p>
  
  <p>Here is my code:</p>
  
  <pre><code> val kafkaParams = Map[String, Object](
    "bootstrap.servers" -&gt; "master:9092,slave1:9092",
    "key.deserializer" -&gt; classOf[StringDeserializer],
    "value.deserializer" -&gt; classOf[StringDeserializer],
    "group.id" -&gt; "GROUP_2017",
    "auto.offset.reset" -&gt; "latest", //earliest or latest
    "enable.auto.commit" -&gt; (true: java.lang.Boolean)
  )
  </code></pre>
  
  <p>what does it mean in my code?</p>