Skip to content

Files

Latest commit

ed1a548 · Apr 26, 2015

History

History
This branch is 14150 commits behind apache/kafka:trunk.

examples

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`