1. 程式人生 > 其它 >kafka could not be established. Broker may not be available kafka啟動報錯

kafka could not be established. Broker may not be available kafka啟動報錯

技術標籤:大資料# Kafkakafka大資料

kafka could not be established. Broker may not be available kafka啟動報錯

我查到的解決方法:
修改server.properties配置檔案

listeners=PLAINTEXT://ip地址:9092
advertised.listeners=PLAINTEXT://ip地址:9092

其實這不用配,也預設localhost:9092的
我也試了這個方法,無效

解決不了問題啊,最後我試了各種方法,甚至導致我的kafka啟動不了了,最後我註釋掉這兩個方法,把zookeeper中kafka節點以及kafka節點下的節點全部刪除,把kafka配置的logs對應的logs資料夾也刪除。 重新啟動kafka神奇般的好了!!!!!!

玄學問題最為致命

> 版權宣告:
作者:十下
連結:http://blog.edkso.cn/?p=409
來源:十下部落格
文章版權歸作者所有,未經允許請勿轉載。