I am trying to get some hands on Kafka CLI
. But when I run the below cmds
I am not able to see any outputs. It's as if the cmds are not being recognized in the first place. Below is my server.properties
and zookeeper.properties
. Am I missing something? I am using kafka version 2.8.0
kafka-topics.sh // opens up another cmd terminal but nothing shows up in there
kafka-topics.bat // It just moves to next line, without any output
server.properties
listeners=PLAINTEXT://:9092
log.dirs=D:/Tools/kafka_2.13-2.8.0/data/kafka
Rest all properties are as it is, I haven't changed anything
zookeeper.properties
dataDir=D:/Tools/kafka_2.13-2.8.0/data/zookeeper
Also the kafka and ZK both are running on respective ports
1条答案
按热度按时间wnavrhmk1#
尝试将Kafka的目录名从
kafka_2.13-2.8.0
更改为kafka
,并尝试运行zookeeper和Kafka。由于某些原因,windows将kafka_2.13-2.8.0
视为长名称并关闭CLI。在所有属性文件中也进行相同的更改。