我以下鏈接:http://programming-tips.in/kafka-set-up-apache-kafka-on-windows/和https://dzone.com/articles/running-apache-kafka-on-windows-os爲Apache卡夫卡安裝在本地計算機上。卡夫卡服務器不能運行在Windows後zookepeer成功地在端口2181上運行
我server.properties文件看起來像:
log.dirs="C:\Program Files\kafka_2.11-0.11.0.0\kafka-logs"
listeners=PLAINTEXT://:9092
zookeeper.connect=localhost:2181
zookeeper.connection.timeout.ms=6000
我zookeeper.properties文件看起來像:
dataDir="C:\Program Files\kafka_2.11-0.11.0.0\zookeeper-data"
clientPort=2181
但是,當我試圖運行下面的命令:
C:\Program Files\kafka_2.11-0.11.0.0>\bin\windows\kafka-server-start.bat \config\server.properties
雖然,我已經給我已經驗證多次正確的所有路徑,我得到這個錯誤:
The system cannot find the path specified.
這可能是什麼可能的解決方案?
我試過這個命令了。現在,錯誤是不同的,即:'C:\ Program'不被識別爲內部或外部命令,可操作的程序或批處理文件。 –