AsyncAPI or CloudEvents? Both My Captain!
summary
Argues AsyncAPI and CloudEvents are complementary and shows exactly how to combine them: use AsyncAPI examples to define payload schemas and CloudEvents binary mode to map metadata into headers, with an Avro payload referenced via schema registry. Demonstrates Microcks creating Kafka topics, publishing a sample event every three seconds, and pushing Avro schemas to Pico Registry so consumers can deserialize. Claims examples become executable specs used for mocking and CI contract tests, and the demo proves the mock + validation loop works end to end.
AI-written summary · about
chapters (23)
- 0:00Intro
- 2:28SOME EDA CHALLENGES
- 4:50SPECIFICATIONS LANDSCAPE
- 5:59WHAT IS ASYNCAPI?
- 8:09ASYNCAPI ECOSYSTEM
- 8:56ASYNCAPIANATOM
- 10:39WHAT IS CLOUDEVENTS?
- 11:44THE PAIN IT TRIES TO SOLVE
- 13:10A RICH ECOSYSTEM OF USE-CASES
- 14:45CLOUDEVENTS ANATOMY
- 17:17CLOUDEVENTS EXAMPLE
- 19:17ASYNCAPI &CLOUDEVENTS COMMON FEATURES
- 20:10SOME DIFFERENCES...
- 22:38HOW TO COMBINE THEM TOGETHER?
- 24:28A CARDEN INHABITANTS SENSOR
- 25:01LET'S CLOUDEVENT-IFIED IT!
- 25:49USE ASYNCAPI TO SPECIFY CONTRACT - CHAN
- 26:48ASYNCAPI & STRUCTURED CLOUDEVEN
- 27:22TURN THIS INTO AVRO BINARY MESSAGE
- 27:50ASYNCAPI & BINARY CLOUDEVENT
- 29:33THE IMPORTANCE OF CONTRACT AND EXAMPLES
- 32:12MICROCKS USE-CASES
- 41:35ASYNCAPI+CLOUDEVENTS: BOTH MY CAPT
related talks
23mBroadening the API Landscape: AsyncAPI and CloudEvents in the Enterprise
01h 03mOpenAPI and AsyncAPI, when to use which and why
22marmonizing Asynchronous Systems: NATS, CloudEvents and AsyncAPI.
39mIntroduction to AsyncAPI for Apache Kafka
03mWhy AsyncAPI Is Essential for Modern Event-Driven Architectures
26mAPI Management, meet Event Management
27mAsyncAPI & The future of API specs
07h 08mAsyncAPI online conference | #asyncapiconf
