jianyun8023 opened a new pull request #7747:
URL: https://github.com/apache/pulsar/pull/7747
### Motivation
Support set retention quota on topic level.
Based on the system topic function.
###Modifications
Support get-retention on topic level.
Support set-retention on topic level.
### Verifying this change
This change added tests and can be verified as follows:
`TopicTopicPoliciesQuotaTest.java`,`TopicPoliciesDisableTest.java`
- *test set topic retention*
- *test get topic retention*
- *test disabled topic retention*
- *test topic retention parameters are valid*
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (don't know)
- The default values of configurations: (yes / no)
- The wire protocol: (yes / no)
- The rest endpoints: (yes / no)
- The admin cli options: (`yes`)
- Anything that affects deployment: (no)
### Documentation
- *Does this pull request introduce a new feature? (`yes`)*
- *If yes, how is the feature documented? (`docs` / `JavaDocs`)*
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]