Hi!

I'm trying to run the example code in 0.70, but the constructor of 
kafka.producer.ProducerConfig throws the following exception:

Exception in thread "main" java.lang.NoSuchMethodError: 
scala.Tuple2._1$mcI$sp()I
at kafka.utils.Utils$.getIntInRange(Utils.scala:192)
at kafka.utils.Utils$.getInt(Utils.scala:174)
at kafka.utils.ZKConfig.<init>(ZkUtils.scala:274)
at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:25)
at kafka.examples.Producer.<init>(Producer.java:35)
at kafka.examples.SimpleConsumerDemo.generateData(SimpleConsumerDemo.java:43)
at kafka.examples.SimpleConsumerDemo.main(SimpleConsumerDemo.java:60)

Anyone has an idea why this happens?

Thanks,
Jiabin

Reply via email to