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
已提问 1 年前722 查看次数
1 回答
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
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
profile picture
专家
已审核 1 年前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则