by Yetkin Timocin
docker-compose up
to get Kafka and Zookeeper up and running.- Run
KafkaStreamsHelloWorld
class to see the output of the Stream Processor when producer sends some data to the topic. - In another terminal, SSH into the container
docker-compose exec kafka bash
- Stand up a producer and enter some data:
kafka-console-producer \
--bootstrap-server localhost:9092 \
--topic hello-world
- See the output of
KafkaStreamsHelloWorld
Mastering Kafka Streams and ksqlDB Book