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.

feita há 3 meses75 visualizações
1 Resposta
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
respondido há 3 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas