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
asked 2 years ago598 views
1 Answer
0
Accepted Answer

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
answered 2 years ago
profile picture
EXPERT
reviewed 15 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions