WARN [Producer clientId=console

编程入门 行业动态 更新时间:2024-10-19 08:54:02

WARN [<a href=https://www.elefans.com/category/jswz/34/1741401.html style=Producer clientId=console"/>

WARN [Producer clientId=console

测试用kafka生产者发送消息时候警告,因为,kafka集群没有全部起来,第一次只是启动了一个集群,所有有两个connection 节点找不到,第二次开启了节点2,节点2的警告消失,第三次全部节点开启,警告消失。
1.[trustfar@bigdata01 ~]$ kafka-console-producer.sh --broker-list bigdata01:9092,bigdata02:9092,bigdata03:9092 --topic test1

s
[2019-03-15 20:07:38,810] WARN [Producer clientId=console-producer] Connection to node -2 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2019-03-15 20:07:38,922] WARN [Producer clientId=console-producer] Connection to node -2 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2019-03-15 20:07:38,926] WARN [Producer clientId=console-producer] Connection to node -3 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
dcdsc
cdassa
sadfasf

2.[trustfar@bigdata01 ~]$ kafka-console-producer.sh --broker-list bigdata01:9092,bigdata02:9092,bigdata03:9092 --topic test1

adc
[2019-03-15 20:13:13,629] WARN [Producer clientId=console-producer] Connection to node -3 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2019-03-15 20:13:13,749] WARN [Producer clientId=console-producer] Connection to node -3 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
daf

3.[trustfar@bigdata01 ~]$ kafka-console-producer.sh --broker-list bigdata01:9092,bigdata02:9092,bigdata03:9092 --topic test1

sssssssss
cdascsd

更多推荐

WARN [Producer clientId=console

本文发布于:2024-02-11 11:47:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1680829.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Producer   WARN   console   clientId

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!