How is SNS guaranteed to receive messages from event sources?

0

I know that AWS SNS receive message from publisher, and send message to Consumer(subscriber).

And SNS FAQ said SNS guarantee message delivered to subscribed endpoint. (SNS to Subscriber)

Then, how are messages guaranteed to be received from publisher? (Publisher to SNS)

Ballena
posta 2 anni fa617 visualizzazioni
1 Risposta
0
Risposta accettata

There is no guarantee that the messages are received from the publisher. For this reason the Publish API is synchronous. The publisher calls the API and it should receive an Ack (200 OK) that the message was received. If it does not receive the Ack, it should retry. When SNS sends an Ack, it is a guarantee that the message was received.

profile pictureAWS
ESPERTO
Uri
con risposta 2 anni fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande