GitHub user xrayw closed a discussion: [Key_Shared] How to ensure the order 
when unack and send msg concurrent?

How does Key Shared mode ensure the order of consume when consumer unack and 
broker send msg to onsumer occur concurrent?

such as :

time →
broker: |send to consumer & release lock|
client  :     |start unack&wait the lock| 
                    
 | get lock and do unack|



Consumer msgs: (1,2,3)
now unack 1, and broker send (4,5,6) to consumer at the same time after unack 
msg send to broker.

Will consumer consume the msg 4 before msg 1?



GitHub link: https://github.com/apache/pulsar/discussions/21863

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to