Closed touseefzaki closed 5 years ago
Just add the kafka-topics.bat
(you're on windows) to your path and use that
Just add the
kafka-topics.bat
(you're on windows) to your path and use that
Thanks Stephane for the response
I tried doing that also. The server comes up with this command 'docker-compose -f zk-single-kafka-single.yml up'
Now the problem is with create and other kafka commands... I have basically done the following after starting the server
1) Tried to create topic using 'kafka-topics.bat --zookeeper 192.168.99.100:2181 --create --topic test --partitions 3 --replication-factor 1' command
2) Also tried using 'kafka-topics.bat --zookeeper 127.0.0.1:2181 --create --topic test --partitions 3 --replication-factor 1'
In both of these cases i get the same message command not found. It looks strange to me
Hi, I am using Docker Toolbox for windows and trying to bring Single Zookeeper and Single Broker up. I used the following command from the source folder 'docker-compose -f zk-single-kafka-single.yml up with which i can see the servers are up but when i go to source folder by opening another docker window and try to create a topic it says 'Kafka-Topics' is a bad command. Not sure why?
My Folder structure Here are my configuration files i am using which you have provided in the Udemy course. From this location only i used this command 'C:\Program Files\Docker Toolbox\kafka-stack-docker-compose-master'. Please let me know what i am doing wrong.