ivankelly opened a new pull request #1391: Utility to rebatch a message
URL: https://github.com/apache/incubator-pulsar/pull/1391
 
 
   When compacting a batched message, we need to take the message, break
   it into its constituent submessages, select the submessages we wish to
   keep, and rebuild the batched message. In other words rebatching. To
   maintain the same batched message ids, the submessages which are not
   selected are replaced with dummy messages with the compactedOut flag
   set to true.
   
   This patch contains a utility method to do this rebatching, along with
   another utility to extract the ids and keys from a batch. These will
   be used to add batching support to compaction in a later patch.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to