简体   繁体   中英

Pros and cons of subscribing single SQS to two/multiple SNS topic

From this question, I know that it is possible to subscribe SQS to two different SNS, I want to understand pros and cons of the same, under any scenario, can I miss any notification?

To be honest there's no pros and cons it just depends why your designs would require multiple notification streams to be processed by the same consumer for the queue.

In the SLA you can see their uptime expectations, but like all technology you must be always be aware that there is a risk of failure.

I'd say for a solution that needs to aggregate a number of the same types of message ie across application or regions into a single consumer deployment then this would work out easier and cheaper to deploy.

If you are concerned about missing notifications from a SNS subscription, you can associate a dead-letter queue .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM