Kafka does not start blank output

故事扮演 提交于 2021-01-28 07:43:51

问题


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:

  1. Create the logs folder and mention it on the sever.properties, it will not create the folder automatically.

  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!