DongyuanPan opened a new issue, #6797: URL: https://github.com/apache/rocketmq/issues/6797
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary If enablePopBufferMerge is enabled, CK and AK will be matched first in memory. For CKs that do not match exactly, a message needs to be sent and stored in the Revive Topic after a timeout. At this time, when some messages in a batch of messages in the CK have been ACKed, but the departmental messages have not been ACKed, it is necessary to generate a message for the ACKed messages and send it to the REVIVE Topic. In this case, if there are N messages that have been ACKed, you need to send N messages to the Revive topic. This leads to a large number of messages being rotated in MQ, and we can make some optimizations here. ### Motivation Support batch ACK to reduce the number of message rotation. For a batch of messages in CK, when some messages have been ACKed and some messages have not been ACKed. We only send one message to the revive topic to indicate all ACKed messages. Therefore, this message needs to store the indexes of all ACKed messages. And in the PopReviveService, the corresponding processing. ### Describe the Solution You'd Like Support batch ack ### Describe Alternatives You've Considered Support batch ack ### Additional Context _No response_ -- 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]
