SQS FIFO Queue Not maintaing the order for same message group id.

0

I have a FIFO queue, and the queue consists of two messages as of now M1 and M2 having same message group id M. The retry is 10 for queue. M1 got failed while processing the message by the consumer. And after some time, the message M1 should be consumed and processed by the consumer aka retried. But the consumer is consuming M2 few times and few times M1. The order is not maintained for the messages having same message group id.

質問済み 3ヶ月前75ビュー
1回答
0

One of the mechanisms that can break the order of messages in FIFQ queue is DLQ. Please see this documentation and notate the following:

Don’t use a dead-letter queue with a FIFO queue if you don’t want to break the exact order of messages or operations. For example, don’t use a dead-letter queue with instructions in an Edit Decision List (EDL) for a video editing suite, where changing the order of edits changes the context of subsequent edits.

https://aws.amazon.com/de/blogs/compute/using-amazon-sqs-dead-letter-queues-to-control-message-failure/

profile pictureAWS
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ