[Bug] RocketMQ release 5.3.2 mqadmin listAcl 命令显示问题
Before Creating the Bug Report
-
[x] I found a bug, not just asking a question, which should be created in GitHub Discussions.
-
[x] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
-
[x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Oracle Linux 9
RocketMQ version
release 5.3.2
JDK Version
No response
Describe the Bug
mqadmin listAcl 显示问题
2主+2从的集群中,使用 mqadmin createAcl 创建 ACL 规则后,使用 mqadmin listAcl/getAcl 查看时,会显示相同的2行记录,如下图:
每行记录对应一组主从(当一个主Broker宕机,listAcl/getAcl将减少1行输出),如果ACL规则是基于每个主从独立创建,建议在listAcl/getAcl中显示主从名称,以确认ACL规则和主从关系;
另外同样createUser也支持指定Broker,如果User也是基于每个主从独立,那么listUser/getUser也应该显示多行,且每行显示主从名称,否则容易让人困惑~
Steps to Reproduce
N/A
What Did You Expect to See?
基于Broker(主从)独立的User和Acl等设置,应该在输出以多行显示,并在每行显示其所属的Broker(主从)名称。
What Did You See Instead?
N/A
Additional Context
No response
Indeed, here is the information of each master node.