《阿里云产品四月刊》—Apache RocketMQ ACL 2.0 全新升级(11)https://developer.aliyun.com/article/1554213
集群配置
认证配置
参数列表
想要在服务端开启认证功能,相关的参数和使用案例主要包含如下:
Broker 配 置
authenticationEnabled = true authenticationProvider = org.apache.rocketmq.auth.authentication.provider.DefaultAuthenticati onProvider initAuthenticationUser = {"username":"rocketmq","password":"12345678"} innerClientAuthenticationCredentials = {"accessKey":"rocketmq","secretKey":"12345678"} authenticationMetadataProvider = org.apache.rocketmq.auth.authentication.provider.LocalAuthentication MetadataProvider
《阿里云产品四月刊》—Apache RocketMQ ACL 2.0 全新升级(13)https://developer.aliyun.com/article/1554211