A small program that will able to run a kafka, zookeeper using Docker. While producer and consumer can be run through javascript
- Spin up the zookeeper and kafka servers
docker-compose up
- Initialize the topics
node topic.js
- Run the consumer
node consumer.js
- Create a producer (The 2nd argument will be the value for message which is paul)
node producer.js paul