zergduan opened a new issue, #9344:
URL: https://github.com/apache/rocketmq/issues/9344

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [x] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/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行记录,如下图:
   
   
![Image](https://github.com/user-attachments/assets/63c90037-dcb5-49a6-8ffe-01b7edc83a2f)
   
   
每行记录对应一组主从(当一个主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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to