aws/copilot-cli

worker services: enable `ChangeMessageVisibility` for SQS queues

Open

#4,216 opened on Nov 23, 2022

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Go (3,737 stars) (441 forks)auto 404
area/overridegood first issuetype/enhancement

Description

"To prevent other consumers from processing the message again, Amazon SQS sets a visibility timeout, a period of time during which Amazon SQS prevents other consumers from receiving and processing the message. The default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The maximum is 12 hours."

Users may want to change this default setting.

Ref: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ChangeMessageVisibility.html

Contributor guide