[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)

nginx安装kafka插件后,启动nginx报错
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
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,还有就是版本是否匹配。本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 1无用