title: java.lang.NoSuchMethodError: org.apache.kafka.common.metrics.Sensor.add error in kafka streams
body: <p>I am getting the below exception when I try to create a kafka streams instance.<br>
  <code>Exception in thread "main" java.lang.NoSuchMethodError: org.apache.kafka.common.metrics.Sensor.add(Lorg/apache/kafka/common/MetricName;Lorg/apache/kafka/common/metrics/MeasurableStat;)Z
      at org.apache.kafka.streams.processor.internals.metrics.StreamsMetricsImpl.&lt;init&gt;(StreamsMetricsImpl.java:64)
      at org.apache.kafka.streams.processor.internals.StreamThread$StreamsMetricsThreadImpl.&lt;init&gt;(StreamThread.java:525)
      at org.apache.kafka.streams.processor.internals.StreamThread.create(StreamThread.java:618)
      at org.apache.kafka.streams.KafkaStreams.&lt;init&gt;(KafkaStreams.java:706)
      at org.apache.kafka.streams.KafkaStreams.&lt;init&gt;(KafkaStreams.java:624)
      at org.apache.kafka.streams.KafkaStreams.&lt;init&gt;(KafkaStreams.java:534)</code></p>
  
  <p>I am trying to run the WordCountDemo scala example in intellij but unable to do so. I have <code>org.apache.kafka:kafka-streams-scala_2.11:2.1.0</code> and <code>org.apache.kafka:kafka-clients:1.0.2</code> dependencies included in my project and see the jars imported.</p>