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.

전문가
답변함 일 년 전

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

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

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