MarvinCai opened a new pull request #11509:
URL: https://github.com/apache/pulsar/pull/11509
Fixes #11404
### Motivation
Time based backlog quota type message_age is set separately but when check
backlog we're only checking against destination_storage type.
So fix to loop through all BacklogQuotaType when checking if backlog
exceeded.
### Verifying this change
This change added tests and can be verified as follows:
- *Added unit test.*
### 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: yes
- The schema: no
- The default values of configurations: no
- The wire protocol: no
- The rest endpoints: no
- The admin cli options: no
- Anything that affects deployment: no
Added default implementation to make Admin Topic/Namespace backlog quota
related API backward compatible.
### Documentation
#### For contributor
For this PR, do we need to update docs? No
- Doc should be auto generated.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]