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
demandé il y a 2 ans617 vues
1 réponse
0
Réponse acceptée

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
EXPERT
Uri
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions