Playing around with kafka and kafka streams
Uses docker to run kafka, but atm relies on the kafka console scripts
Prerequisites
- Docker
- Docker Compose
docker-compose up -d
bin/kafka-topics-list.sh streams-plaintext-input
cat examples/sample-input.txt | bin/kafka-console-producer.sh streams-plaintext-input
# Run main class `WordCount`
bin/kafka-console-consumer.sh streams-wordcount-counts-store-repartition