Volume 10 · Chapter 9 — Messaging and Event-Driven Architecture

EventBridge in Depth

Goutham Mayaluri 4 min read AWSCloudEventBridgeMessaging

9.1 Introduction

EventBridge is central to event-driven and serverless architectures, and the exam expects more than the basics: event buses (default, custom, partner), rule and content-based routing, the schema registry, archive and replay, Pipes, and Scheduler. This chapter provides that depth.

9.2 Event Buses and Rules

EventBridgeroutes events throughevent buses. Thedefault busreceives events from AWS services automatically;custom busescarry your application’s events; andpartner busesreceive events from SaaS providers (Datadog, Zendesk, etc.).Rulesmatch events by their content (an event pattern on fields/values) and route matching events totargets- Lambda, SQS, SNS, Step Functions, Kinesis, and many others - and aninput transformercan reshape the event before delivery. This content-based routing (versus SNS’s topic-subscription model) is EventBridge’s distinguishing capability, letting one bus route different events to different targets by rich matching. The exam pattern: EventBridge for content-based routing and integration across AWS services and SaaS.

flowchart TB
  AWS[AWS service events] --> Def[(Default bus)]
  App[App events] --> Cust[(Custom bus)]
  SaaS[SaaS partner events] --> Part[(Partner bus)]
  Def & Cust & Part --> Rule{Rules - match by content}
  Rule --> Lam[Lambda] & SF[Step Functions] & Q[SQS]
  Cust --> Arch[Archive + replay]
  Cust --> Schema[Schema registry]

9.3 Schema Registry, Archive, and Replay

Three features aid robust event-driven systems. Theschema registrydiscovers and stores event schemas (and can generate code bindings), so producers and consumers share a versioned contract - important as the system grows.Archiveretains events (all or filtered) for a retention period, andreplayre-sends archived events to a bus - invaluable for reprocessing after a bug fix, testing, or recovering from a downstream failure (you replay the events it missed). These give EventBridge durability and recoverability beyond fire-and-forget. The exam associates schema registry with managing event contracts and archive/replay with reprocessing past events.

9.4 EventBridge Pipes and Scheduler

Two newer capabilities.EventBridge Pipescreate point-to-point integrations from a source (SQS, Kinesis, DynamoDB Streams, MQ) to a target, with optional filtering and enrichment (via Lambda/Step Functions/API) in between - a managed way to connect a producer to a consumer with transformation, without writing glue code.EventBridge Scheduleris a serverless scheduler that triggers targets on a cron or rate schedule at scale (replacing CloudWatch Events scheduled rules for large-scale scheduling), with flexible time windows and time zones. The exam pattern: Pipes for filtered/enriched point-to-point source-to- target integration; Scheduler for scalable scheduled triggering of actions.

9.5 Banking Production Scenario

A bank uses EventBridge as its integration hub. A custom bus carries application events, the default bus captures AWS service events (a GuardDuty finding, an S3 upload), and a partner bus ingests a SaaS fraud-intelligence feed. Rules route by content - payment events to the fraud function, high-value transactions to a review queue, compliance events to an audit pipeline - with input transformers reshaping payloads. The schema registry manages event contracts across teams, and archive/replay lets the bank reprocess recent events through an improved consumer after a fix. Pipes connect a DynamoDB Stream to a target with enrichment, and Scheduler triggers nightly reconciliation. This full EventBridge design is exactly the professional-level event-driven architecture the certification targets.

9.6 Chapter Revision Notes

  • Event buses: default (AWS service events), custom (your app events), partner (SaaS); rules match by content and route to many target types, with input transformers.
  • Content-based routing distinguishes EventBridge from SNS topic-subscription; it integrates AWS services and SaaS.
  • Schema registry manages versioned event contracts; archive + replay retains and re-sends events for reprocessing/testing/recovery.
  • EventBridge Pipes = filtered/enriched point-to-point source→target integration; Scheduler = scalable serverless cron/rate scheduling.
  • Use EventBridge for content routing/integration; SNS/SQS for high-throughput fan-out with buffering.