kafka/examples
Vahid Hashemian 0d71cf108e KAFKA-3264; Deprecate the old Scala consumer (KIP-109)
Author: Vahid Hashemian <vahidhashemian@us.ibm.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

This patch had conflicts when merged, resolved by
Committer: Ismael Juma <ismael@juma.me.uk>

Closes #2328 from vahidhashemian/KAFKA-3264

(cherry picked from commit f85c18032b)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2017-06-02 12:31:06 +01:00
..
bin kafka-1700; examples directory - README and shell scripts are out of date; patched by Geoffrey Anderson; reviewed by Jun Rao 2014-10-23 16:12:54 -07:00
src/main/java/kafka/examples KAFKA-3264; Deprecate the old Scala consumer (KIP-109) 2017-06-02 12:31:06 +01:00
README kafka-1982; change kafka.examples.Producer to use the new java producer; patched by Ashish Singh; reviewed by Gwen Shapira, Mayuresh Gharat and Jun Rao 2015-04-19 07:46:58 -07:00

README

This directory contains examples of client code that uses kafka.

To run the demo: 

   1. Start Zookeeper and the Kafka server
   2. For simple consumer demo, `run bin/java-simple-consumer-demo.sh`
   3. For unlimited sync-producer-consumer run, `run bin/java-producer-consumer-demo.sh sync`
   4. For unlimited async-producer-consumer run, `run bin/java-producer-consumer-demo.sh`