Say I want to send emails to users.
My hunch is that a event Fanout is a good approach to use here. Say I have multiple SNS topics e.g. orders
, users
, messages
. Each topic has their respective events e.g. order_created
, user_created
, message_created
.
My question is which one to choose:
I am having a hard time identifying obvious pros / cons. Also more generally what are scenarios where you would have one queue subscribe to multiple topics vs multiple queues each subscribed to a single topic.
Thanks!
Here are my pros and cons for the two options that you have listed.