1 December 2026 · 3 min read · Download as PDF

Fan-out without coupling every consumer

One OrderPlaced event can start fulfilment, notifications and analytics. Give each consumer its own delivery boundary so one failure does not hold up the rest.

Part 3 of 6 · From Event to Outcome: AWS Messaging Patterns

Cover: Fan-out without coupling every consumer

One order event, three jobs: reserve stock, tell the customer and update a dashboard. Sending the event to three Lambda functions is a tempting first sketch. But when the notification provider is down, should stock reservation stop? Usually not. The fan-out design is about independent ownership as much as parallel delivery.

Part 3 of 6 in From Event to Outcome, a series on AWS messaging patterns.

Where this fits. The publisher from Part 2 has put OrderPlaced on the bus. Fulfilment needs the order promptly, notifications needs to tell the customer, and analytics can usually tolerate some delay. Separate delivery paths let each team recover at its own pace. Part 4 follows one delivery into a worker and shows what happens when processing fails.

One EventBridge event fans out to an SQS fulfilment queue, an SNS notifications topic with subscribers, and an SQS analytics queue.

TL;DR

  • Simple Notification Service (SNS) to Simple Queue Service (SQS) is a direct topic-to-queue fan-out pattern. Each subscription can filter the message, and each queue holds its own backlog.
  • EventBridge Classic rules to SQS route events by pattern and can include AWS and SaaS sources. Each consumer can receive its own queue.
  • A topic or bus distributes; the queue protects a slow consumer. Add a dead-letter path and an owner for each branch.
  • Fan-out is not fan-in. Publishing three copies does not tell you when all three have completed.

The order example

The event bus receives OrderPlaced. A fulfilment rule sends it to orders-fulfilment. An analytics rule sends it to orders-analytics. A notifications rule could send it directly to orders-notify, or send it to an SNS topic if the notification capability itself needs more subscribers. The latter topic might fan out to separate queues for email and CRM updates, with subscription filters where appropriate.

The worker for each queue can fail, back off and recover at its own pace. Analytics can be hours behind while fulfilment remains current. That is a feature if the business can tolerate that lag; it becomes an incident if nobody watches queue age.

Which distribution layer?

Use SNS when you own a topic with a clear publish/subscribe contract and need its supported subscriber endpoints. Use EventBridge when routing by event fields, AWS and SaaS integration, or cross-account event sharing is central. AWS’s decision guide makes this distinction. You may also connect them, as the order example does, when each layer has a real job. Avoid adding both just to make an architecture look complete.

Filter policies deserve a test case. SNS evaluates a subscription filter against message attributes or the message body, depending on configuration. EventBridge matches a rule’s event pattern. A filter that silently excludes a new event version can look like a consumer outage even though the publisher succeeded.

Failure boundaries

Use an SNS subscription or EventBridge target dead-letter queue (DLQ) to capture delivery failures. Configure a separate SQS redrive policy for messages the consumer repeatedly fails to process. Alarm on both queues and give each one an owner.

Next: what the consumer does with a message after it arrives, and why duplicates are normal enough to design for.

From Event to Outcome

  1. SQS, SNS and EventBridge: choose by the job
  2. Publishing an event without losing the order
  3. Fan-out without coupling every consumer (you’re here)
  4. The consumer is where reliability becomes real
  5. Events into Step Functions: rule, pipe or API?
  6. Fan-in, recovery and the end of the event story

More from the blog