tv1902
tv1902

Reputation: 231

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?

Upvotes: 2

Views: 17563

Answers (2)

junkangli
junkangli

Reputation: 1202

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

Upvotes: 1

Chris Williams
Chris Williams

Reputation: 35146

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 i.e. across application or regions into a single consumer deployment then this would work out easier and cheaper to deploy.

Upvotes: 1

Related Questions