You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/12/10 19:31:15 UTC

[GitHub] merlimat opened a new pull request #3156: Share the batch metadata object across all messages in batch

merlimat opened a new pull request #3156: Share the batch metadata object across all messages in batch
URL: https://github.com/apache/pulsar/pull/3156
 
 
   ### Motivation
   
   When a batch is broken down into a series of RawMessage instances, each of them will share the same MessageMetadata (the batch common metadata). Use ref counting so that all messages in the batch will shared the same object and will recycle it when done.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services