modified README.md

main
arnel 2023-09-06 15:21:50 +02:00
parent 0eb84c899b
commit e7ff09620f
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ was downloaded, therefore kafka version 3.5.1 is used.
# run # run
First you have to start and run the zookeeper server, afterwards the kafka server First you have to start and run the zookeeper server, afterwards the kafka server
and finally the consumers. and finally the consumers.
```sh ```shell
bin/zookeeper-server-start.sh config/zookeeper.properties bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties bin/kafka-server-start.sh config/server.properties
bin/kafka-console-consumer.sh --topic TOPIC_INSTANCE --from-beginning --bootstrap-server localhost:9092 bin/kafka-console-consumer.sh --topic TOPIC_INSTANCE --from-beginning --bootstrap-server localhost:9092
@ -49,4 +49,4 @@ you can add the following object:
Send. Send.
You should be able to see the data in one of the consumers! If you encounter You should be able to see the data in one of the consumers! If you encounter
any warnings after starting the consumers you can ignore them! any warnings after starting the consumers you can ignore them!