SQS Lambda - retry logic?

后端 未结 4 1276
忘了有多久
忘了有多久 2021-02-12 22:21

When the message has been added to an SQS queue and it is configured to trigger a lambda function (nodejs).

When a lambda function is triggered - I may want to retry sa

4条回答
  •  天命终不由人
    2021-02-12 22:57

    According this blog:

    https://www.lucidchart.com/blog/cloud/5-reasons-why-sqs-lambda-triggers-are-a-big-deal

    Leverage existing retry logic and dead letter queues. If the Lambda function does not return success, the message will not be deleted from the queue and will reappear after the visibility timeout has expired.

提交回复
热议问题