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

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
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전
profile picture
전문가
검토됨 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠