In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the knowledge of "what is AWS Lambda retry and Dead letter queue". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
AWS Lambda allows you to set Debugging and error handling. After an exception occurs in Lambda and the maximum number of retries is reached, the following information is put into the selected SNS or SQS topic as a DLQ-Dead Letter Queue, including
Messages received by the original Lambda (based on the total size of SNS and SQS messages, may be intercepted, I guess, especially Kinesis messages will be larger)
RequestId of the original Lambda
ErrorCode (three-digit HTTP error code)
ErrorMessage, that is, the original Lambda throws the getMessage () information of Exception to intercept 1 KB string
And if Lambda wants to use DLQ, it must also set the IAM role of the current Lambda to have the corresponding sns:Publish and sqs:SendMessage permissions for the SNS/SQS theme.
AWS Lambda basic retry rule: the Kinesis message will be retried indefinitely until the message expires, and if an exception occurs for the SNS or SQS message, it will be retried twice.
This is the end of "what is the AWS Lambda retry and Dead letter queue". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.