codelipenghui opened a new pull request #8274:
URL: https://github.com/apache/pulsar/pull/8274


   ### Motivation
   
   To troubleshooting the consumer stop to receive messages under the 
key_shared subscription, it's difficult to know if the broker stops to dispatch 
messages to this consumer to preserve order. So this PR exposes a metrics to 
show the read position when the consumer joining so that we can compare the 
read position and the mark delete position to determine.
   
   ### Verifying this change
   
   Unit test added
   
   ### 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: (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)
   
   ### Documentation
   
     - Does this pull request introduces a new feature? (no)
   


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