【Kafka问题解决】Connection to xxx could not be established. Broker may not be available.
2019-06-20 13:27
676 查看
请检查Kafka的
config/server.properties
看看是否有填写
listeners=PLAINTEXT://kafka-host:9092 advertised.listeners=PLAINTEXT://kafka-host:9092
这里的kafka-host需要在
/etc/hosts进行映射,服务端映射到本地或内网ip,客户端映射到服务端ip
问题解决。
相关文章推荐
- kafka调试中遇到Connection to node -1 could not be established. Broker may not be available.
- WARN [Producer clientId=console-producer] Connection to node -2 could not be established. Broker may
- Morphia @Reference 属性删除出现The reference xxx could not be fetched for 问题解决
- 解决github fatal: unable to access 'xxxx': Could not resolve host:xxx的问题
- the file “XXX” could not be opened because you don't have permission to view it问题
- git:could not open a connection to your authentication agent问题的解决(重新绑定私钥)
- Connection could not be established with host smtp.***.com [Connection timed out #110]的解决办法
- redis Could not connect to Redis at 127.0.0.1:6379: Connection refused 问题解决
- 解决 A connection to the deployment share could not be made. The deployment will not proceed.
- 【21】解决SecureFX 上传出现File XXX could not be opened by server的问题
- mysql安装问题 The security setting could not be applied to the database 解决办法
- A Connection to the remote computer could not be established
- Could not open a connection to your authentication agent 问题解决方案
- 问题解决:Tomcat 部署 Could not copy all resources to 或者Undeployment Failure could not be redeployed
- openfire 安装报这个错误 A connection to the database could not be made。。。
- telnet mysql时出现:is not allowed to connect to this MySQL serverConnection closed by foreign host问题的解决
- 关于Ubuntu下XXis not marked as executable. it may be dangerous to run. 程序无法执行问题
- Error: The INF file contains Unicode characters that could not be converted correctly to ANSI的彻底解决
- [Centos] mod_wsgi 安装流程以及遇到问题解决办法。apxs: command not found 或 Sorry, Python developer package does not appear to be installed.
- iOS Xcode, 解决“Could not insert new outlet connection”的问题