Files
2025-10-07 15:58:15 +08:00

30 lines
774 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

对这些 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