Files

30 lines
774 B
YAML
Raw Permalink Normal View History

2025-10-07 15:58:15 +08:00
对这些 IP来源的客户端放行不校验账户权限
globalWhiteRemoteAddresses:
- 127.0.0.1
- 192.168.101.*
- 192.168.1.*
- 192.168.70.*
设置了两个账号mquser(只读部分权限)、mqadmin(具有admin权限)
accounts:
- accessKey: rocketmquser
secretKey: 12345678
whiteRemoteAddress: 192.168.*.*
admin: false
defaultTopicPerm: SUB
defaultGroupPerm: SUB
topicPerms:
- topicA=DENY
- topicB=PUB|SUB
- topicC=SUB
groupPerms:
the group should convert to retry topic
- groupA=DENY
- groupB=PUB|SUB
- groupC=SUB
- accessKey: rocketmqadmin
secretKey: Feimoon123
whiteRemoteAddress: 192.168.*.*
可管理所有资源Web UI使用这个
admin: true