Troubleshooting in Amazon SQS

Sometimes Amazon SQS Dead-Letter Queues do not behave as expected. The following are common problems or issues and their solutions:

  • Message moved to Dead-Letter Queue:

Viewing messages from the AWS console might cause problems with a message and move it to a Dead-Letter Queue. You can adjust this behavior in the following way:

    • For the corresponding queue's redrive policy, increase the Maximum Receives setting
    • From AWS Management Console, avoid viewing the corresponding queue messages
  • Send and receive messages doesn't match:

When a message is sent to a Dead-Letter Queue manually, it will be captured by the NumberOfMessagesSent metric. If, however, a message is sent to a Dead-Letter Queue as a result ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.