Skip to content

Commit 0140728

Browse files
authored
Update streaming.md
V had removed the full path to the consumer... Not sure why, but it was broken now...
1 parent ca8597a commit 0140728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labs/06-Streaming/streaming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ $ docker-compose exec kafka /opt/kafka_2.11-0.10.1.1/bin/kafka-topics.sh --creat
317317
Next let's read the result of the final stream (the one produced by our little stream example):
318318

319319
```bash
320-
$ docker-compose exec kafka /opt/kafka_2.11-0.10.1.1/bin/kafka-console-consumer.sh
320+
$ docker-compose exec kafka /opt/kafka_2.11-0.10.1.1/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic stream-output --from-beginning --property print.key=true
321321
```
322322

323323
The observant may notice that we've added `--property print.key=true` to this startup (compared with previous runs). This is important because we want to see the word that is being counted (the messages have the word as its `key` and the count as its `value`).

0 commit comments

Comments
 (0)