Setting up kafka in windows... first go to the directory where kafka-single-node.yml exists. execute this command from current directory... kafka-single-node
👉docker-compose -f kafka-single-node.yml up -d
this command will pull the zookeeper and kafka. and start the containers of kafka and zookeeper.
To check the containers running or not ... execute this command
👉docker ps
To shutdown and remove the setup, execute this command in the same directory...
👉docker-compose -f kafka-single-node.yml down
Logging into kafka container...
👉docker exec -it kafka-broker /bin/bash
Now navigate to kafka scripts directory...
👉cd /opt/bitnami/kafka/bin