Where can I check for client side errors and/or server errors for SQS ?

0

Hello AWS team,

I have an application that's sending data to the SQS that triggers a lambda function. I noticed alarms indicating I have messages going to my sqs deadletter que.

I am trying to determine what's causing the application to fail based on the deadletter que. I'm wodnering if there's a location I can look where I can see the detailed messages and the body to determine why the messages are going to the deadleatter que. I'm not sure if it's client error or server error.

I also have alarm for Lambda alert, so I believe it has something to do with server side but I am not show how to troubleshoot or the steps to determine the cause in AWS>

1 回答
0

Messages end up on the DLQ after processing of them fails. So something is causing your Lambda function to read a message and then not delete it to signal processing is done. It would be best to review your Lambda code to make sure logging and error handling is capturing all situations.

Also you can read messages off the DLQ to inspect their bodies.

专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则