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 2022/08/01 14:00:48 UTC

[GitHub] [pulsar] AnonHxy commented on issue #16680: PIP-191: Support batched message using entry filter

AnonHxy commented on issue #16680:
URL: https://github.com/apache/pulsar/issues/16680#issuecomment-1201245652

   > Can you explain how in your proposal, you keep the exact ordering of the messages as they were sent to the producer while separating them into different batches based on properties?
   
   Sure. There is no difference with normal batched sending, except we have to check `hasSameProperties` in `ProducerImpl#canAddToCurrentBatch`.  I think the following legend can help explain this more clearly
   
   <img width="905" alt="image" src="https://user-images.githubusercontent.com/10233437/182164813-16b1cf7a-024c-401f-8c54-862f9684013a.png">
   
   
   Let me know if it is not clear enough or this doesn't explain the question correctly:)  @asafm 


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org