Does SQS can invoke Lambda functions asynchronously ?

0

I found this article : https://aws.amazon.com/blogs/architecture/understanding-the-different-ways-to-invoke-lambda-functions/

I see that SQS is supported as Poll-based invoke.

  1. Does it means that Lambda will be triggered async once event is added to DLQ?
  2. Does this Lambda is supporting DLQ, meaning if the function is failed, I can publish it to DLQ?

Thanks.

asafha
질문됨 4년 전1782회 조회
1개 답변
1

Lambda processes events from SQS synchronously, and so failed invocations will not besent to a DLQ on the Lambda side. If the Lambda invocation fails, the message remains in the SQS queue, and will be retried or sent to the queue's DLQ according to how the queue is configured.

Ellison
답변함 4년 전
  • Thank you so much for this. You have no idea how much this clears my confusion/misunderstanding on SQS with Lambda functions. 😊

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠