问题
Im workign to install Kafa and Zookeeper.
I have already run the Zookeeper and it is currently running. I set up everything as in [https://dzone.com/articles/running-apache-kafka-on-windows-os]
when i finally run in my cmd,
.\bin\windows\kafka-server-start.bat .\config\server.properties
there is no output, it just moves shows the next command line started. Please help me out.
回答1:
Finally I find someone with with the same issue I had! Zookeeper running, but kafka not doing anything at all except returning to the next line with no log, error, or anything. Dunno if the cause is the same, but the solution for me, oddly enough, was to download and open cygwin, and run the command exactly as you have it, except with flipping all the \s to /s and it worked.
回答2:
Solution that worked for me:
Create the logs folder and mention it on the sever.properties, it will not create the folder automatically.
go to your cmd and run
kafka-server-start.bat D:\<pathofkafka>\config\server.properties
Thanks!
来源:https://stackoverflow.com/questions/58299437/kafka-does-not-start-blank-output