fengcharly commented on issue #6630: URL: https://github.com/apache/rocketmq/issues/6630#issuecomment-1517378695
> When I configured the following ACL file in the broker, the broker reported conversion failure: user_ acl.yml: > > ``` > accounts: > - accessKey: rocketmq2 > secretKey: 12345678 > admin: true > - accessKey: test > secretKey: 12345678 > admin: true > ``` > > Error reported: java.lang.ClassCastException: java.lang.Class cannot be cast to org.apache.rocketmq.acl.AccessValidator at org.apache.rocketmq.broker.BrokerController.initialAcl(BrokerController.java:915) at org.apache.rocketmq.broker.BrokerController.initialize(BrokerController.java:781) at org.apache.rocketmq.broker.BrokerStartup.createBrokerController(BrokerStartup.java:224) at org.apache.rocketmq.broker.BrokerStartup.main(BrokerStartup.java:58) The accessKey=%s and secretKey=%s cannot be null and length should longer than 6 The accessKey length of "test "is less than 6, and if it cannot be changed after startup, it is sufficient -- 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]
