Microservices with bus
Gateway fronts services; bus fans out to async workers.
What this template contains
- Source
- 12 lines
Make it your own.
client -> gateway
gateway -> auth
gateway -> orders
gateway -> catalog
gateway -> payments
orders -> bus: order.created
payments -> bus: payment.ok
bus -> email_worker
bus -> analytics
payments -> postgres: writes
postgres.shape: cylinder
bus.shape: queue