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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to