Skip to content

SNS如何保证从事件源接收消息?

0

【以下的问题经过翻译处理】 我知道AWS SNS接收来自发布者的消息,并将消息发送给消费者(订阅者)。

SNS FAQ指出SNS保证将消息传递到已订阅的端点。(SNS到订阅者)

那么,如何确保从发布者接收到消息呢?(发布者到SNS)

EXPERT

asked 3 years ago81 views

1 Answer
0

【以下的回答经过翻译处理】 不能保证信息是从发布者接收到的。因此,发布API是同步的。发布者调用API后应该收到一个确认(200 OK),以表示消息已经接收到。如果没有收到确认,发布者应该重试。当SNS发送确认时,可以保证已经接收到了消息。

EXPERT

answered 3 years 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.