mirror of https://github.com/apache/kafka.git
I think we should add a space here, otherwise the two words will join together. And replace the host string with a constant, otherwise when I need to modify the host, I need to modify several files. Author: 郑谦00117553 <00117553@zte.intra> Reviewers: Guozhang Wang <wangguoz@gmail.com> Closes #2132 from ZhengQian1/trunk |
||
---|---|---|
.. | ||
bin | ||
src/main/java/kafka/examples | ||
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`