caicaihaohaohao 2021-08-25 12:07 采纳率: 66.7%
浏览 291
已结题

nginx安装kafka插件后,启动nginx报错

[root@hdp-06 logs]# vi error.log
%5|1629888230.924|CONFWARN|rdkafka#producer-1| [thrd:app]: No bootstrap.servers configured: client will not be able to connect to Kafka cluster
%6|1629888230.939|FAIL|rdkafka#producer-1| [thrd:192.168.63.13:9092/bootstrap]: 192.168.63.13:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY)
%6|1629888231.151|FAIL|rdkafka#producer-1| [thrd:192.168.63.13:9092/bootstrap]: 192.168.63.13:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY, 1 identical error(s) suppressed)
%6|1629888231.936|FAIL|rdkafka#producer-1| [thrd:192.168.63.15:9092/bootstrap]: 192.168.63.15:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 2ms in state APIVERSION_QUERY)
%6|1629888232.211|FAIL|rdkafka#producer-1| [thrd:192.168.63.15:9092/bootstrap]: 192.168.63.15:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY, 1 identical error(s) suppressed)
%6|1629888232.927|FAIL|rdkafka#producer-1| [thrd:192.168.63.14:9092/bootstrap]: 192.168.63.14:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY)
%3|1629888232.927|ERROR|rdkafka#producer-1| [thrd:192.168.63.14:9092/bootstrap]: 3/3 brokers are down
%6|1629888233.110|FAIL|rdkafka#producer-1| [thrd:192.168.63.14:9092/bootstrap]: 192.168.63.14:9092/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY, 1 identical error(s) suppressed)

  • 写回答

1条回答 默认 最新

  • wo.austin 2021-08-26 18:23
    关注

    你看第二行,已经告诉你异常了。“Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY)”
    是kafka不通,让你确认是不是安全协议的配置问题。你确认一下有没有用配置SSL,还有就是版本是否匹配。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 9月16日
  • 已采纳回答 9月8日
  • 创建了问题 8月25日

悬赏问题

  • ¥15 求micropython modbus-RTU 从机的代码或库?
  • ¥15 铜与钢双金属板叠加在一起每种材料300mm长,18mm宽,4mm厚一端固定并加热至80℃,当加热端温度保持不变时另一端的稳态温度。ansys
  • ¥15 django5安装失败
  • ¥15 Java与Hbase相关问题
  • ¥15 后缀 crn 游戏文件提取资源
  • ¥15 ANSYS分析简单钎焊问题
  • ¥20 bash代码推送不上去 git fetch origin master #失败了
  • ¥15 LOL外服加入了反作弊系统,现在游戏录像rofl文件离线都无法打开
  • ¥15 在centos7安装conda
  • ¥20 WPF 如何实现多语言,label 和cs(live Charts)中是否都能翻译