'汇合开始':无法启动Kafka,Zookeeper没有运行

时间:2017-10-31 13:38:04

标签: apache-kafka apache-zookeeper confluent

我在启动汇合平台时收到以下错误:

$ ./confluent start
Starting zookeeper
|Zookeeper failed to start
zookeeper is [DOWN]
Cannot start Kafka, Zookeeper is not running. Check your deployment

我的Zookeeper在端口2181上运行,Kafka在端口9092上运行。

1 个答案:

答案 0 :(得分:1)

只需运行以下命令即可停止Zookeeper服务器

  

汇合路径> ./bin/zookeeper-server-stop

并使用以下命令开始融合:

  

汇合路径> ./bin/汇合开始