Standard SQS - Duplicate message


I have an Lambda which listens to Standard SQS , Do I need to handle duplicate messages while listening in Lambda as SQS guarantees at least once delivery. Are there chances of messages duplicating.

asked 2 years ago1683 views
1 Answer

Yes, there is a chance of duplicate messages with SQS Standard queues. You will need to handle that in your code. Alternately, you can use a SQS FIFO queue. More information is in our documentation.

profile pictureAWS
answered 2 years ago
profile pictureAWS
reviewed 2 years ago
  • Depending on the programming language you are using, you can use the Lambda Power Tools to handle idempotency for you.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions