码迷,mamicode.com
首页 > 其他好文 > 详细

flink整合kafka报错 WARN - Bootstrap broker ip:9092 disconnected

时间:2019-12-17 11:52:26      阅读:2471      评论:0      收藏:0      [点我收藏+]

标签:配置文件   strong   art   整合   lin   pac   put   The   nbsp   

WARN - The configuration ‘zookeeper.connect‘ was supplied but isn‘t a known config.
WARN - The configuration ‘input.topic‘ was supplied but isn‘t a known config.
WARN - Bootstrap broker ip:9092 disconnected       
WARN - Bootstrap broker ip:9092 disconnected
WARN - Bootstrap broker ip:9092 disconnected

 

1.首先检查 zookeeper集群和kafka集群是否正常

发现没有问题

 

2.检查scala代码kafka配置文件是否写错

没有写错

 

3.检查kafka版本

原来是kafka版本错误

<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11${scala.version}</artifactId>
<version>0.10.1.0</version>
</dependency>

替换

<dependency>
    <groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11${scala.version}</artifactId>
<version>0.10.0.0</version>
</dependency>

flink整合kafka报错 WARN - Bootstrap broker ip:9092 disconnected

标签:配置文件   strong   art   整合   lin   pac   put   The   nbsp   

原文地址:https://www.cnblogs.com/chong-zuo3322/p/12053583.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!