codelipenghui opened a new pull request #6052:
URL: https://github.com/apache/pulsar/pull/6052
Master issue: #6253
Fixes #5969
### Motivation
Add support for ack batch message local index. Can be disabled at broker
side by set batchIndexAcknowledgeEnable=false at broker.conf
PIP-54 documentation will be created soon.
### Modifications
1. Managed cursor support track and persistent local index of batch message.
2. Client support send batch index ack to broker.
3. The batch messages with index ack information dispatched to the client.
4. Client skip the acked index.
### Verifying this change
New unit tests 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: (yes)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduce a new feature? (yes)
----------------------------------------------------------------
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]