gaozhangmin opened a new pull request #10853:
URL: https://github.com/apache/pulsar/pull/10853
Fixes #9488
### Motivation
Add ability to calculate backlog size given a message id.
### Modifications
In Admin Rest API and CLI add option to getBacklogSizeByMessageId
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
*(Please pick either of the following options)*
This change added tests and can be verified as follows:
### 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): (yes / no) no
- The public API: (yes / no) yes (added option to get topic's backlog size
given a message id)
- The schema: (yes / no / don't know) no
- The default values of configurations: (yes / no) no
- The wire protocol: (yes / no) no
- The rest endpoints: (yes / no) no
- The admin cli options: (yes / no)yes
- Anything that affects deployment: (yes / no / don't know)no
### Documentation
- Does this pull request introduce a new feature? (yes / no) yes
- If yes, how is the feature documented? (not applicable / docs / JavaDocs
/ not documented)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]