ITeye博客

kafka,zookeeper sasl 权限验证

jacklin2015 · 2019-06-09 14:44 · 开源软件 · Markdown

---------zookeeper auth------------------------------创建node create /controller

setAcl /controller auth:admin:admin:cdrwa

bin/zookeeper-shell.sh localhost:2181

-------------------------------------------------------------启动kafka异常解决方法---------------------------- I0Itec.zkclient.exception.ZkException: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth

zookeeper的根目录设置了权限导致的,把zookeeper 的 ‘/’目录的权限清除,再重启kafka不会报错。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。