Standard SQS - Duplicate message

0

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.

Siva
gefragt vor 2 Jahren2040 Aufrufe
1 Antwort
1

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
EXPERTE
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Toni_S
überprüft vor 2 Jahren
  • Depending on the programming language you are using, you can use the Lambda Power Tools to handle idempotency for you.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen