運行環(huán)境:
win11, kafka版本kafka_2.12-3.4.0
運行命令:bin\windows\zookeeper-server-start.bat config\zookeeper.properties
報錯信息:
ZooKeeper audit is disabled
無法正常啟動zookeeper.
解決辦法:
打開zookeeper的配置文件:zookeeper.properties修改其中的配置信息:
將audit.enable和admin.enableServer都修改為true
如果配置中沒有audit則添加一個:
audit.enable = true
成功后提示信息:文章來源:http://www.zghlxwxcb.cn/news/detail-733768.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-733768.html
到了這里,關(guān)于zookeeper報錯:ZooKeeper audit is disabled的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!