返回到文章

采纳

编辑于 5月前

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

kafka

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