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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵