MarvinCai opened a new pull request #8494:
URL: https://github.com/apache/pulsar/pull/8494


   Fixes #5126 
   
   ### Motivation
   
   Add ability to examine specific message by position relative to earliest or 
latest message.
   So we can easily debug with topic without need to creating subscription or 
fetching message by getting (legerId:entryId) for that message first.
   
   ### Modifications
   
   Add command to get specific message from a topic with relative position.
   Exposed asyncReadEntry, getFirstPosition, getPositionAfterN and 
getNumberOfEntries in PersistentTopic. 
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   Added unit test.
   
   ### Does this pull request potentially affect one of the following parts:
     - Dependencies (does it add or upgrade a dependency): no
     - The public API: no
     - The schema: no
     - The default values of configurations: no
     - The wire protocol: no
     - The rest endpoints: 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? 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]


Reply via email to