当我在broker配置如下的acl文件的时候,broker报转换失败:
user_acl.yml: | accounts: – accessKey: rocketmq2 secretKey: “12345678” admin: true – accessKey: test secretKey: “12345678” admin: true
报的错误:
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)这个问题有人遇到过吗?有些类似的issu 是说yml配置的ak/sk长度不够造成的 但是我的这个长度是够的 为嘛转换失败 也没有详细的提示