Change deduplication interval in SQS FIFO
In FIFO queues, the Deduplication Interval
is fixed for 5 mins. Currently there is NO way to increase the deduplication time window.
This concern has been raised in one of the AWS Forums in 2017, but still it seems like this is not available as a feature.
Additional Note:
The purpose of having a deduplication Interval
is to avoid processing the same message twice within the given 5 minutes. If you want to increase it, it would seem like an overhead on SQS because it needs to keep track of previous messages for a longer period.
I suggest having a filtering layer between your program and SQS, to remove duplicates, according to your required logic. Same with if you want to decrease it.
Hope this helps.