Cross-Domain Events with AsyncAPI and AWS
summary
A cross‑domain event distribution service at The LEGO Group runs on AWS and replaces poll-based checkout checks with push events, handling massive global e‑commerce volume. It uses EventBridge with rules and Step Functions to transform EventBridge messages into CloudEvents payloads, applies enrichment via JSON Patch, signs and encrypts payloads with nested JSON Web Tokens, issues ULID event IDs, provides idempotency via an MD5 content hash, and publishes AsyncAPI specs (Modelina/Generator) into Backstage for discovery — production proven at scale.
AI-written summary · about
chapters (26)
- 0:00Introduction
- 0:22Eventdriven architectures
- 1:07Crossdomain events
- 2:15CrossDomain Domains
- 4:02Poolbased solution
- 4:49Pullbased solution
- 5:44desirable properties
- 10:15AsyncAPI
- 11:54AWS Event Bridge
- 14:54Cloud Events
- 17:31Commonality Map
- 19:24Event Flow Diagram
- 22:33Discovery
- 24:16Backstage
- 25:16Event Hierarchy
- 27:04Evolution
- 29:48Enrichment
- 33:47Event IDs
- 35:08Event potency
- 37:18Event security
- 39:57Testing
- 41:14testing integration points
- 41:43contract testing
- 42:55observability
- 43:48custom metrics
- 44:11recap
related talks
27mDevOps in the Cloud
17mGoing Full Silo - Using Serverless to Build for Dev Simplicity
33mShipping Enterprise AI Agents with Amazon Bedrock AgentCore
14mPlatform engineering
16mThink Bigger: From Prototype to Global Scale
37mDriving efficiency and innovation at scale with cloud platforms
06mLightning Talk: How a Global Logistics Company Migrated Clouds with Zero Downtime
39mReal-Time Event Processing and Handling Stateful Applications on Apache Mesos
