Mirror of Apache Kafka
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Vahid Hashemian f85c18032b KAFKA-3264; Deprecate the old Scala consumer (KIP-109) 8 years ago
..
bin kafka-1700; examples directory - README and shell scripts are out of date; patched by Geoffrey Anderson; reviewed by Jun Rao 10 years ago
src/main/java/kafka/examples KAFKA-3264; Deprecate the old Scala consumer (KIP-109) 8 years ago
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`