Option to increase SQS delay queues maximum limit from default 15 minutes

0

I'm from Freshworks. We have a use case to support callback for up to 48 hours. Want to know the option to increase the SQS delay queue maximum limit from 15 minutes to 48 hours

demandé il y a 3 mois258 vues
3 réponses
2
Réponse acceptée

SQS only supports delays of up to 15 minutes. Instead, use EventBridge Scheduler to schedule a task in 48 hours, that will handle the message (send it to a queue, invoke a Lambda, call an HTTP API, etc.).

profile pictureAWS
EXPERT
Uri
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a 3 mois
1

Hello.

The SQS delay queue can be set from 0 seconds to 15 minutes.
I don't think this limit can be extended.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-delay-queues.html

The default (minimum) delay for a queue is 0 seconds. The maximum is 15 minutes.

profile picture
EXPERT
répondu il y a 3 mois
profile pictureAWS
EXPERT
vérifié il y a 3 mois
1

Hi,

Riku is right: 15 min max cannot be increased

I understand that you want to shift delivery to the consumer for 48h. In that case, I would suggest to create a delivery queue in which you repost your messages after 48h. Some Lambda would read it from the reception queue and store it in a buffer (let's say DynamoDB). Another Lambda would monitor the buffer and repost in Delivery queue after 48h.

Best,

Didier

profile pictureAWS
EXPERT
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions