By using AWS re:Post, you agree to the Terms of Use

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.

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 picture
answered 5 months ago
profile picture
reviewed 5 months 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