Why FIFO queue should perform a handleMessageBatch ? #595
-
SummaryThe documentation clearly states the FIFO support has not been tested, explaining why we see a warning in our logs. But the final note is intriguing:
Would you care to explain why ? I'm trying to fully understand the implications here. Thank you ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It's to maintain the order as first in first out, handleMessage will run a promise.all so that's not guaranteed to be in the same order. However, to note, we don't guarantee the order will be maintained for either implementation, it's just more likely to be maintained with handleMessageBatch. |
Beta Was this translation helpful? Give feedback.
It's to maintain the order as first in first out, handleMessage will run a promise.all so that's not guaranteed to be in the same order.
However, to note, we don't guarantee the order will be maintained for either implementation, it's just more likely to be maintained with handleMessageBatch.