kafka/examples
huxi 895c83f88d KAFKA-7412: clarify the doc for producer callback (#5798)
The metadata in the callback is not null with non-null exception.

Reviewers: Jun Rao <junrao@gmail.com>
2018-11-08 16:58:14 -08:00
..
bin
src/main/java/kafka/examples KAFKA-7412: clarify the doc for producer callback (#5798) 2018-11-08 16:58:14 -08:00
README

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`