超级用户 superUserRoles该如何启用呢?

问题描述
在进行数据隔离的时候,报错需要超级用户权限


那到底该如何开启超级用户呀,怎么添加呀

Hi cjhyyf, superuserroles 的配置是在broker.conf中配置的,例如:

# Role names that are treated as "super-user", meaning they will be able to do all admin
# operations and publish/consume from all topics
superUserRoles=admin

需要注意的是所有的broker配置保持一致,这样才能正常访问。

1 Like