forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-9922: Update demo instructions in examples README (apache#8559)
Class kafka.examples.SimpleConsumerDemo was removed. But the java-simple-consumer-demo.sh was not removed and README was not updated. This commit removes java-simple-consumer-demo.sh and updates the demo instructions in the examples README. Author: Jiamei Xie <[email protected]> Reviewers: Konstantine Karantasis <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
This directory contains examples of client code that uses kafka. | ||
|
||
To run the demo: | ||
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` | ||
5. For exactly once demo run, `run bin/exactly-once-demo.sh 6 3 50000`, | ||
2. For unlimited sync-producer-consumer run, `run bin/java-producer-consumer-demo.sh sync` | ||
3. For unlimited async-producer-consumer run, `run bin/java-producer-consumer-demo.sh` | ||
4. For exactly once demo run, `run bin/exactly-once-demo.sh 6 3 50000`, | ||
this means we are starting 3 EOS instances with 6 topic partitions and 50000 pre-populated records. | ||
6. Some notes for exactly once demo: | ||
6.1. The Kafka server has to be on broker version 2.5 or higher. | ||
6.2. You could also use Intellij to run the example directly by configuring parameters as "Program arguments" | ||
5. Some notes for exactly once demo: | ||
5.1. The Kafka server has to be on broker version 2.5 or higher. | ||
5.2. You could also use Intellij to run the example directly by configuring parameters as "Program arguments" |
This file was deleted.
Oops, something went wrong.