2 ms·
In my experience, SQS queues attached to a SNS topic is a common configuration. Each subscribed queue has a worker or "worker group" that gets a copy of all mes
by SideburnsOfDoom 4y ago
In my experience, SQS queues attached to a SNS topic is a common configuration. Each subscribed queue has a worker or "worker group" that gets a copy of all messages.
The topic has "zero or more" subscribed queues, and when sending to the SNS topic, you don't need to know how many subscribers there are right now.
In many cases, it's more a flexible equivalent to write to a SNS topic; not directly to a SQS queue.
The article calls this "the fanout pattern"
- jack335 4y agoYes this is the fanout pattern - called at least in AWS context. It is pretty normal to use it like that to decouple it even more. Producer don't need to know to send it to which queues
- kcb 4y agoYes this is also equivalent to the exchanges and queues in RabbitMQ. Exchange = SNS, Queue = SQS.