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.

posta 3 mesi fa73 visualizzazioni
1 Risposta
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
con risposta 3 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande