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
gefragt vor 2 Jahren617 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
Uri
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen