I'm trying to use the AWS SQS FIFO service together with an Elastic Beanstalk worker environment.
Let's say I send a message with MessageDeduplicationId
test
, if I continue sending this exact message in the next 5 minutes, the message will be ignored, correct?
What happens if I send a message with MessageDeduplicationId
test
, the consumer processes the message and deletes it, then, in about 1 minute, I send the exact same message again. Will this message be ignored?
My question is, does deduplication occur as long as the same MessageDeduplicationId
is still in queue/flight? Or is the id banner forever, no other message with the same id can be sent.
Thanks.
What happens if I send message with MessageDeduplicationId test , the consumer processes the message and the deletes it, then, in about 1 minute, I send the exact same message again. Will this message be ignored?
Answer seems to be: Yes
Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted.