I am working through the kafka quickstart:
http://kafka.apache.org/07/quickstart.html
and the basic Consumer Group example:
https://cwiki.apache.org/conf
This seems to work :
$ git clone https://github.com/buildlackey/cep $ cd cep/kafka-0.8.x $ mvn package $ mvn exec:java -Dexec.mainClass=TestKafkaProducer
(via where can I find maven repository for kafka? )