MarvinCai opened a new pull request #9583:
URL: https://github.com/apache/pulsar/pull/9583
Fixes #9582
### Motivation
The message negative ack will break the message ordering dispatch guarantee,
Key_Shared is an ordering dispatch guarantee subscription, so we should avoid
the message negative ack for the Key_Shared subscription.
### Modifications
Check if it's Key_Shared subscription type before negativeAcking messages.
### Verifying this change
This change added tests and can be verified as follows:
- *Added test case.*
----------------------------------------------------------------
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]