Re: still looking for Maven POM for Java Kafka

2014-05-06 Thread David Novogrodsky
Yury, Thank you for the reply. It was helpful. David Novogrodsky david.novogrod...@gmail.com http://www.linkedin.com/in/davidnovogrodsky On Tue, May 6, 2014 at 10:47 AM, Yury Ruchin wrote: > Looks like Kafka classes is not on your classpath. You should either > assemble an uber-jar from your

Re: still looking for Maven POM for Java Kafka

2014-05-06 Thread Steven A Robenalt
Hi Dave, Here's a POM I use to build the examples. It's pretty simple, including kafka 0.8.0 with scala 2.9.2 libs, and targeting Java 7. I also made a couple of mods to make things easier: 1) I use log4j 1.2.17 to eliminate a log4j 1.2.15 dependency on the sun jdmk. 2) I use the maven dependency

Re: still looking for Maven POM for Java Kafka

2014-05-06 Thread Yury Ruchin
Looks like Kafka classes is not on your classpath. You should either assemble an uber-jar from your project (e. g. using Maven Assembly plugin with jar-with-dependencies descriptor ref) or add location of Kafka classes to your classpath. 2014-05-06 19:11 GMT+04:00 David Novogrodsky : > All, > >

still looking for Maven POM for Java Kafka

2014-05-06 Thread David Novogrodsky
All, I am running some examples from the packet book Apache Kafka. I am creating a HighLevelconsumer. I am getting an error when I try to run the code: -- C:\Users\david.j.novogrodsky\Documents\TestingKafka\target>java -cp Kafka_test-1.0-SNAPSHOT.jar com.cat.HighLevelConsumer test Exception in t