kafka调试中遇到Connection to node -1 could not be established. Broker may not be available.
2019-09-17 11:50
4479 查看
kafka报错内容:
WARN [Consumer clientId=consumer-1, groupId=console-consumer-950] Connection to node -1 could not be established. Broker may not be available.
这是因为你的配置文件中的PLAINTEXT跟你请求的内容不同。举例来说,我在配置文件里配置的listeners=PLAINTEXT://10.127.96.151:9092,但是我想测试的时候请求的是./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topic1 --from-beginning
正确的应该是./kafka-console-consumer.sh --bootstrap-server 10.127.96.151:9092 --topic topic1 --from-beginning
以上就是本文的全部内容,希望对大家的学习有所帮助
相关文章推荐
- kafka调试中遇到Connection to node -1 could not be established. Broker may not be available.
- 【Kafka问题解决】Connection to xxx could not be established. Broker may not be available.
- WARN [Producer clientId=console-producer] Connection to node -2 could not be established. Broker may
- A Connection to the remote computer could not be established
- WARN [Consumer clientId=consumer-1, groupId=console-consumer-950] Connection to node -1 could not be
- Spring boot+MyBatis连接Mysql时遇到Could not create connection to database server的问题
- openfire 安装报这个错误 A connection to the database could not be made。。。
- adstpall.sh: Database connection could not be established. Either the database is down or the APPS c
- The project was not built due to "Could not delete ...".Fix the problem, then try refreshing this project and building it since it may be inconsistent.
- Mac电脑npm:Failed to download repo vuejs-templates/webpack: tunneling socket could not be established,
- WARNING rally.common.broker [-] Failed to consume a task from the queue: The resource could not be found. (HTTP 404)
- 配置penfire出现A connection to the database could not be made. ...错误
- msxml3.dll 错误 '80072efd' A connection with the server could not be established
- The security settings could not be applied to the database because the connection has failed w
- 解决composer install遇到:Your requirements could not be resolved to an installable set of packages
- 解决 A connection to the deployment share could not be made. The deployment will not proceed.
- Connection could not be established with host smtp.***.com [Connection timed out #110]的解决办法
- ssrs 2016, mobile report error: The report may be misconfigured, the data may not be available, or the server version may be unsupported.
- Xcode 8.0 调试运行,This ** is running iOS 10.1.1 (14B100), which may not be supported
- ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be available