Kafka + Zookeeper: Connection to node -1 could not be established. Broker may not be available

后端 未结 5 545
一整个雨季
一整个雨季 2020-12-17 07:54

I am running in my locahost both Zookeeper and Kafka (1 instance each).

I create succesfully a topic from kafka:

./bin/kafka-topics.sh --zookeeper lo         


        
5条回答
  •  清歌不尽
    2020-12-17 08:14

    If you want to set up it for local then you need to un comment the below line in path_to_kafka_folder\kafka_2.13-2.6.0\config\server.properties

    listeners=PLAINTEXT://localhost:9092

提交回复
热议问题