Connection to node -1 (Desktop/192.168.0.102:9091) could not be established.
因为kafka是依赖zookeeper来支持可靠性的,
所以先看下zookeeper的client有没有问题
$ZOOKEEPER/bin/zkCli.sh -server Desktop:2181
如果该命令正常,但是依然出现下面的问题的话,
021-01-11 11:44:24,839] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Connection to node -1 (Desktop/192.168.0.102:9091) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:24,840] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Bootstrap broker Desktop:9091 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:24,942] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Connection to node -1 (Desktop/192.168.0.102:9091) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:24,942] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Bootstrap broker Desktop:9091 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,094] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Connection to node -1 (Desktop/192.168.0.102:9091) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,094] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Bootstrap broker Desktop:9091 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,349] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Connection to node -1 (Desktop/192.168.0.102:9091) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,350] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Bootstrap broker Desktop:9091 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,757] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Connection to node -1 (Desktop/192.168.0.102:9091) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-11 11:44:25,757] WARN [Consumer clientId=consumer-console-consumer-70674-1, groupId=console-consumer-70674] Bootstrap broker Desktop:9091 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
那么重启kafka集群就好了.
Connection to node -1 (Desktop/192.168.0.102:9091) could not be established.相关推荐
- vue项目启动时报错 Error: listen EADDRNOTAVAIL: address not available 192.168.0.102:9003
vue项目启动时报错 Error: listen EADDRNOTAVAIL: address not available 192.168.0.102:9003 先说一下问题,我的vue项目本地启动时 ...
- 局域网计算机中arp,在局域网中的一台计算机上使用了arp-a命令,有如下输出: C:\arp.a Interface: 192.168.0.1 0n - 赏学吧...
在局域网中的一台计算机上使用了arp-a命令,有如下输出: C:\arp.a Interface: 192.168.0.1 0n Interface Ox1000004 Intemet Address ...
- Connection to node 0 (/192.168.204.131:9092) could not be established
解决连接虚拟机内kafka出现Connection to node 0 /192.168.204.131:9092 could not be established.Broker may not be ...
- k8s-问题:[root@master log]# kubectl get node The connection to the server 192.168.0.105:6443 was refus
记一次测试虚拟机异常关机导致的问题 关于[root@master log]# kubectl get node The connection to the server 192.168.0.105:6 ...
- 可以ping通 但ssh: connect to host 192.168.0.2 port 22: Connection refused
目录 问题描述 原因 解决 问题描述 自己在树莓派端通过SCP指令给电脑上ubuntu传输文件发现提示:ssh: connect to host 192.168.0.2 port 22: Connec ...
- 本地上传文件到FastDFS命令上传报错:ERROR - file: connection_pool.c, line: 142, connect to server 192.168.0.197:221
root@ubuntu:/etc/fdfs# /usr/bin/fdfs_upload_file /etc/fdfs/client.conf /etc/a.jpg [2019-12-03 11:38: ...
- ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
scp免密码登录:Linux基础 - scp免密码登陆进行远程文件同步 执行scp一直是OK的,某天在本地生成了公钥私钥后,scp到某个IP报以下错误 The authenticity of host ...
- Call From hadoop102/192.168.121.102 to hadoop102:9000 failed on connection exception
问题截图 问题描述 在测试Spark中examples案例时,出现Call From hadoop102/192.168.121.102 to hadoop102:9000 failed on con ...
- [转帖]IP地址、子网掩码、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?...
IP地址.子网掩码.网络号.主机号.网络地址.主机地址以及ip段/数字-如192.168.0.1/24是什么意思? 2016年03月26日 23:38:50 JeanCheng 阅读数:105674 ...
最新文章
- try finally 中的return
- Android Studio编译好的apk放在哪里?
- [原创]PipelineTools 文件传输工具
- 使用cxf开发webservice应用时抛出异常
- mysal向一个无法连接的网络尝试了一个套接字操作 0.0.3.235_第十二章 Java网络编程(3)——套接字(上)...
- 被问到有没有内核开发经验_一个人就是一个开发团队!成电硬核毕业生自制迷你电脑走红!...
- java二分法排序算法_Java中使用二分法排序
- 09年关门歇业的15大网站 雅虎旗下4网站上榜
- iOS开发之--HTTP请求
- SVN分支创建,合并,多分支并行
- python中导入win32com.client出错问题
- 高精度定位系统融合定位模式崭露头角
- Usage of API documented as @since 1.8+”报错的解决办法
- 微信公众平台服务号与订阅号区别详解【有图】
- 未来战警 中的计算机词汇,计算机常用单词词汇
- C#项目解决方案管理器中将*.Designer.cs文件放到*.cs文件下
- 树莓派4B Ubuntu 21.04 自动温控开关风扇以及RPi.GPIO避坑指南
- 安卓开发拍照时闪退遇到问题: file:///storage/emulated/0/0.jpg exposed beyond app through ClipData.Item.getUri()
- 基于改进粒子群算法的WSN节点部署优化
- html翻牌动画效果,js+css3翻牌动画效果
热门文章
- MapReduce的简单实例WordCount
- Angular JS 中的内置方法之$watch
- 关于PHP数组方法array_walk的疑问
- H5外部浏览器直接调起微信——通过url协议 weixin:// 判断是否安装微信及启动微信...
- LuaBridge 中C++类和继承示例
- [转]百万数据查询优化技巧三四则
- 经典插花的教训 PKU 1157
- hive mysql编码问题_Hive中文乱码 生产环境问题解决
- 多个独立的forEach循环, 内部处理条件是一样,代码优化方案
- js导入,导出exel表格