Kafka server not returning anything

2019-08-20 06:29发布

问题:

Zookeper is up and running in windows env.Now when i start Kafka server using

.\bin\windows\kafka-server-start.bat .\config\server.properties

nothing is displayed

G:\Apache Kafka\kafka_2.11-0.11.0.0\kafka_2.11-0.11.0.0>.\bin\windows\kafka-serv
er-start.bat .\config\server.properties

G:\Apache Kafka\kafka_2.11-0.11.0.0\kafka_2.11-0.11.0.0>

I am following this article.

回答1:

The issue resolved after including C:\Windows\System32 in PATH variable.



回答2:

You have to add the path:

 %SystemRoot%\System32\Wbem;%SystemRoot%\System32\;SystemRoot%

in User %PATH% Environment variable, and not in system %PATH% Environment variable.



回答3:

Deleting the existing Kafka folder and un-tarring the downloaded Kafka{version}.tgz file worked for me.

Caveat: Although this is not an ideal solution but it works for individuals learning/exploring Kafka wanting to just get the things done.