Gallery · Event-driven microservices

Order Processing · Event-Driven Microservices

One order, many reactions: the Order Service publishes to Kafka and three consumer groups react on their own time. Toggle between the transitional v1 (synchronous DB write, then the event) and the target v2 (the event is the source of truth; a projector builds the read model).

Client API / Service Worker Datastore / Log External

Click a node to jump to its step · Shortcuts: Space play/pause · ←/→ step · 1–3 flow · O mode · T theme · F fullscreen · R reset layout · Drag a node (or focus it and press Shift+←↑↓→) to repositionTap a node to jump to its step. ·

Pipeline · —
— / —
Mobile / Web Client
REST · OpenAPI
api.shop.com
·
API Gateway
Kong · rate limit · JWT
:443
·
Order Service
Go · gRPC + REST
:50051
·
Kafka
topic orders.events
:9092
·
Postgres (orders)
RDS Postgres · primary
:5432
·
Stripe
External · REST · idempotency keys
api.stripe.com
·
Billing Worker
consumer group: billing
N pods
·
Shipping Worker
consumer group: shipping
N pods
·
Notification Worker
consumer group: notifications
N pods
·