Duplicate Message Received by using SQS/SNS

0

HI, I am using SNS Topic to publish the message to Email subscribers SQS, but it triggered for duplicate notification. may I know how to solve this.

My SQS is standard queue. Thanks

HQ_NG
gefragt vor einem Jahr722 Aufrufe
1 Antwort
0

Hi, can you switch you queue to FIFO instead of standard?

FIFO has a built-in mechanism to avoid such duplicates: see https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html

More details about this depuplication mechanism at https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html

profile pictureAWS
EXPERTE
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr
  • I tried FIFO, but keep spamming the email like 10++,

  • May i know the duplicate message sending will happened for SNS as well ? I trigger 5 times, gt 1 times is duplicate,seems like the SNS to SQS is unstables, but i couldn't find the issues.

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