Kraft3.5方式启动kafka 做SASL/SCRAM 认证 客户端连接不上去

芋泥波波 发表于: 2024-07-23   最后更新时间: 2024-07-23 18:37:55   357 游览

SASL/SCRAM

1、生成SSL 证书
screenshot

2、server.properties配置
screenshot

3、conf 配置文件
screenshot

screenshot

4、修改启动脚本
screenshot

5、启动kafka 服务端(成功启动)
screenshot

6、下载 客户端证书 offset Explorer(连接kafka)
screenshot

发现连接不上去

错误信息


Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-256) (org.apache.kafka.common.network.Selector)

screenshot

screenshot

添加评论
你的答案

查看kafka相关的其他问题或提一个您自己的问题