Re: Got exception executing Kafka Producer.

2013-04-04 Thread Chris Curtin
You need to reference the version of Yammer shipping with Kafka. It is under \core\lib\metrics-* On Thu, Apr 4, 2013 at 11:41 AM, Oleg Ruchovets wrote: > I am executing a simple code like this: > > public class FirstKafkaTester { > public Producer initProducer(){ > Properties props =

Got exception executing Kafka Producer.

2013-04-04 Thread Oleg Ruchovets
I am executing a simple code like this: public class FirstKafkaTester { public Producer initProducer(){ Properties props = new Properties(); props.put("zk.connect", "127.0.0.1:2181"); props.put("broker.list", "localhost:9092"); props.put("serializer.class", "kaf