You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this situation only occurs when the consumer obtains messages for the first time after startup. The order of monitoring messages thereafter is consistent.
Isn't the receive method an atomic method? My Topic type is FIFO, and my messages are produced to the same group in order, but the receive method does not guarantee the order when it gets the message for the first time after the consumer starts, and only the first message does this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
my consumer code:
my producer code:
Producer execution log:
Consumer execution log:
It seems that this situation only occurs when the consumer obtains messages for the first time after startup. The order of monitoring messages thereafter is consistent.
Isn't the receive method an atomic method? My Topic type is FIFO, and my messages are produced to the same group in order, but the receive method does not guarantee the order when it gets the message for the first time after the consumer starts, and only the first message does this.
Beta Was this translation helpful? Give feedback.
All reactions