Minimal implementation of Kafka client 0.9 producer & consumer.
You should now have Kafka 0.9 running at localhost:9092
and zookeeper running at localhost:2181
.
sbt "run producer my-topic 50"
will send 50
messages (1 per second) in the topic my-topic
.
sbt "run consumer my-topic my-group-id"
will subscribe to the topic my-topic
using the groupId my-group-id
.