a13707331174 opened a new issue #1711: An AclException was throwed when I used mqadmin command to updateTopic URL: https://github.com/apache/rocketmq/issues/1711 我的rocketmq已经设置aclEnable, 并且我将管理员的accessKey从原来的rocketmq2改成了自定义的admin12345678, 当我用mqadmin命令执行updateTopic时,会报rocketmq2用户没有配置. > org.apache.rocketmq.acl.common.AclException: No acl config for **rocketmq2,** 这是为什么呢,? 或者怎么在updateTopic命令传入配置的管理员用户名和密码? 报错如下 ```java org.apache.rocketmq.tools.command.SubCommandException: UpdateTopicSubCommand command failed at org.apache.rocketmq.tools.command.topic.UpdateTopicSubCommand.execute(UpdateTopicSubCommand.java:185) at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:139) at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:90) Caused by: org.apache.rocketmq.client.exception.MQClientException: CODE: 1 DESC: org.apache.rocketmq.acl.common.AclException: No acl config for rocketmq2, org.apache.rocketmq.acl.plain.PlainPermissionManager.validate(PlainPermissionManager.java:398) ``` 配置文件如下: ```java - accessKey: admin12345678 secretKey: admin12345678 whiteRemoteAddress: admin: true ``` when i set acl enabled and change the default admin accessKey and then if I use mqadmin command to updateTopic , there would be an exception throwed.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services