aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

Update ReceiveMessageBatchTask messages to be stored and removed in fifo order

Open kmbotts opened this issue 4 years ago • 1 comments

Issue #, if available: n/a

Description of changes: Messages retrieved by spawned Receive task are removed in reverse order. Updated to have them polled in order as they were received. This was not intended to make the Amazon SQS Buffered Asynchronous Client fully support FIFO queues, but it's a step in that direction.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

kmbotts avatar Aug 05 '21 11:08 kmbotts

Not necessarily in FIFO order, just the order they were received from queue. If that were to be a FIFO queue, then the order is preserved prior to fulfilling the future back to the caller.

kmbotts avatar Aug 05 '21 17:08 kmbotts