[Doc] ACL documentation is missing required 5.x configuration properties
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 70/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- java
- Domain
- authentication, authorization, documentation
Research direction
Start by locating the English and Chinese ACL documentation, then compare their configuration guidance with AbstractAuthenticationStrategy.java, AbstractAuthorizationStrategy.java, AuthMigrator.java, and AuthenticationFactory.java at the cited lines. Update both documents to include the required 5.x properties and confirm that the documented configuration covers authentication, authorization, migration, and metadata providers.
Written by the indexing model from the issue text.
Description
Search before creation
- I had searched in the issues and found no similar issues.
Documentation Related
The ACL documentation (both English and Chinese) only mentions
aclEnable=true as the required broker configuration. However, in
RocketMQ 5.x, the following additional properties are required:
- authenticationEnabled=true
- authorizationEnabled=true
- migrateAuthFromV1Enabled=true
- authenticationMetadataProvider=org.apache.rocketmq.auth.authentication.provider.LocalAuthenticationMetadataProvider
- authorizationMetadataProvider=org.apache.rocketmq.auth.authorization.provider.LocalAuthorizationMetadataProvider
Evidence from source code:
- AbstractAuthenticationStrategy.java:54 — returns immediately if
authenticationEnabled is false - AbstractAuthorizationStrategy.java:54 — same for authorizationEnabled
- AuthMigrator.java:72 — plain_acl.yml is not loaded without
migrateAuthFromV1Enabled - AuthenticationFactory.java:80-81 — returns null if
authenticationMetadataProvider is blank, causing
"authenticationMetadataProvider is not configured" error
Without these properties, ACL either silently allows all traffic or
throws configuration errors.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
- Dominant language
- Java
- Stars
- 22.6k
- Forks
- 12k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/rocketmq
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
[Bug] TopicValidator rejects V2 retry topic names containing `+` separator introduced by KeyBuilder Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100