Luke Hedger
The LEGO Group
AsyncAPI Conf - Nov 2022
Domain A
Domain B
Domain C
Inter-domain events
Domain A
Domain B
Domain C
Cross-domain events
Produce rich payment events in realtime to consumers via transport convenient to them
Baskets
Orders
Payments
Shopper checkout
Order submission
Payment requests
Asynchronous authorisations
Order fulfilment
Baskets
Orders
Payments
Is payment authorised?
Order submitted
Payment authorised
1
2
3
Baskets
Orders
Payments
Order submitted
Payment authorised
1
1
1
2
AsyncAPI | EventBridge | CloudEvents |
---|---|---|
Channels | Rules | - |
Channel | Rule | - |
Message.name | DetailType | subject |
Message.title | DetailType | subject |
Message.payload.properties | Detail | data |
- | Time | time |
$ ag asyncapi.yml @asyncapi/html-template -o asyncapi.out
Payment.Authorised.Ecom
Payment.Authorised.Pos
Order.Created.Uk
Basket.Paid.Eu
01AN4Z07BY79KA1307SR9X4MV3
0800fc577294c34e0b28ad2839435945
shared HMAC secret
private key (verified with public key)
Event Bus
Event Bus
Workflow
Targets