title: Kafka Maven Dependencies
body: <p>What's the difference between the below two dependencies? Do i really need the first one to make a consumer or producer app? </p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;kafka_2.9.2&lt;/artifactId&gt;
          &lt;version&gt;0.8.2.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;kafka-clients&lt;/artifactId&gt;
          &lt;version&gt;0.8.2.1&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>My Producer works fine with just the first one , but the consumer needs the second one. </p>
  
  <p>I had thought the "kafka-clients" artifact would work for both producer and consumer. But looks like "kafka.consumer.Consumer" comes from the other dependency. Why is there a difference?</p>
  
  <p>Also, why is the first artifact named as kafka_2.9.2? i.e why is a version identifier in the name?</p>