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 Resposta
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
ESPECIALISTA
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um ano
profile picture
ESPECIALISTA
avaliado há um ano
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas