TakaHiR07 opened a new pull request, #19827:
URL: https://github.com/apache/pulsar/pull/19827

   ### Motivation
   
   If we enable batch message, sometimes we need to get the exact message in a 
batch or get the whole batch messages to help find out some problems.  But now 
the admin getMessageById() method can only get the first message in a batch. 
   
   ### Modifications
   
   1. implement getBatchMessagesById() to get the whole batch messages in a 
entry
   2. implement get the exact batch message in the previous getMessageById() 
methods, and ensure the compatibility with previous behaviour
   3. add unittest for these implementation
   
   ### Verifying this change
   
   This change added tests and can be verified as follows:
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [x] The admin CLI options
   - [ ] The metrics
   - [ ] Anything that affects deployment
   
   ### Documentation
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [x] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: <!-- ENTER URL HERE -->
   
   


-- 
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]

Reply via email to