Multi-Protocol APIs: Designing a Unified Interface for EDA
summary
Defines a unified interface that maps channels, topics and patterns (request‑reply, pub/sub, event streaming) across Kafka and Google PubSub, with JSON Schema/Avro/Protobuf/XSD payloads; uses an AsyncAPI YAML plus an overlay for test triggers and side effects; generates stubs and runs contract tests against a Kafka broker and a PubSub emulator using Specmatic to publish example messages, verify schemas and assert side effects; central Git repository becomes the single source of truth enabling service virtualization and parallel development.
AI-written summary · about
chapters (9)
- 0:00Multi-protocol async APIs intro
- 1:29Async API specs key aspects
- 6:10Order service sample app
- 9:47Live Kafka & PubSub demo
- 13:37Specmatic contract testing
- 19:39Side effects and triggers
- 21:21PubSub testing
- 23:09Contract-driven development
- 27:49Contract-driven APIs benefits
related talks
31mUnifying OpenAPI & AsyncAPI : Designing JSON Schemas+Examples.
32mUnifying API and event driven architectures
39mIntroduction to AsyncAPI for Apache Kafka
38mAdvanced API Design for Scalable Distributed Systems
26mNext Generation of AsyncAPI
23mBroadening the API Landscape: AsyncAPI and CloudEvents in the Enterprise
25mFrom Guesswork to Governance: Bringing API Discipline to Data Streaming
15mEvolution of API Management and Emerging Trends
