原文:kafka安裝測試報錯 could not be established. Broker may not be available.

修改 config 下配置文件 vim server.properties 配置本機ip listeners PLAINTEXT: . . . : 執行命令時 bin kafka console consumer.sh bootstrap server localhost: topic test from beginning 將localhost 換成ip . . . ok ...

2018-11-17 20:45 0 10256 推薦指數:

查看詳情

kafka: could not be established. Broker may not be available

本人小白一個,網上查資料,有很多解決方案,有關閉防火牆的,有修改配置文件的,有添加host的,試了之后發現還是解決不了,最后發現是命令用錯了 過程如下: cd /opt/kafka/bin #進入kafka安裝目錄下的bin ./kafka-topics.sh --describe ...

Thu Dec 16 17:35:00 CST 2021 0 1652
KAFKAcould not be established. Broker may not be available

場景:安裝kafka集群后,程序創建topic時報錯could not be established. Broker may not be available 問題: 1.kafka開放了9092,9093,9094這三個端口,使用語句 firewall-cmd --zone=public ...

Thu Apr 14 18:32:00 CST 2022 0 8693
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM