程序部署后,日志有以下信息。
Will not attempt to authenticate using SASL (unknown error)
经过查资料,这个问题与zookeeper里面的zoo.cfg配置有关。
在程序填写的zookeper的路径,一定与zoo.cfg里面的server填写的名称一致。
(比如,如果配置的时候写的实际ip,而不是host映射名称,那么就可以能报此类错误,导致zookeeper连接失败。)
zookeeper报错:Will not attempt to authenticate using SASL (unknown error)
最新推荐文章于 2025-05-22 22:39:30 发布