SlideShare a Scribd company logo
Introduction to
AsyncAPI
Lorna Mitchell, Aiven
Introducing: AsyncAPI
Specification for describing event-driven and data
streaming systems.
• https://asyncapi.com
• Open standard
• Active community
• Supports Kafka! And MQTT, AMQP, WS ....
@lornajane
Why use AsyncAPI?
Describe your event-driven systems in a useful and
reusable way.
• Clearly track changes in a text-based description
• Generate documentation and code
• Verify system operations against description
• Enclose existing payload descriptions (CloudEvents,
Avro) within AsyncAPI
@lornajane
Bunch of JSON/YAML
asyncapi: '2.0.0'
id: 'urn:com.github.lornajane.example1'
info:
contact:
license:
servers:
local-kafka:
channels:
factorysensor:
subscribe:
message:
payload:
examples:
components:
securitySchemes:
messages:
@lornajane
Generated Docs
@lornajane
AsyncAPI Descriptions
AsyncAPI Structure
Top-level elements:
• asyncapi and id
• info
• servers
• channels
• tags
• components
@lornajane
Info Section
Valuable metadata is held in info.
info:
title: Thingum Industries Sensors
description: Keeping the factory and all the machines running nicely
version: 1.0.0
contact:
name: Lorna
email: lornajane@aiven.io
url: https://github.com/aiven/thingum-industries
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
@lornajane
Channels Section
Main operations are described here
channels:
door-sensor:
description: Door sensors (external and internal)
subscribe:
operationId: DoorSensor
description: Open/closed state information from the doors.
tags:
- name: sensor
bindings:
kafka:
clientId:
type: string
message:
$ref: '#/components/messages/DoorData'
@lornajane
$ref Reusable Content
Refer to content in the components section
message:
$ref: '#/components/messages/DoorData'
Useful for reuse and readability.
We can also refer to other files:
message:
$ref: 'doors-publish.yaml#/components/messages/DoorData'
@lornajane
Components Section
A collection of reusable components
components:
messages:
DoorData:
name: door-sensor-data
title: Door Sensor Reading
description: Door sensor data
payload:
type: object
properties:
location:
type: string
state:
enum: ["open", "closed"]
@lornajane
AsyncAPI Loves Standards
AsyncAPI is compatible with other standards:
• Avro or CloudEvent payload descriptions can be
accessed with $ref
• JSONSchema is supported
• Based on and builds on OpenAPI
@lornajane
AsyncAPI Tools
Generate Documentation
Documentation with
https://www.asyncapi.com/generator
@lornajane
Generate Code
Also using the generator:
ag thingum/doors-publish.yaml 
@asyncapi/nodejs-template 
-o thingum/nodejs 
-p server=development
@lornajane
Tools Landscape
• VSCode extension:
https://github.com/asyncapi/vs-asyncapi-preview
• Validation/linting:
https://stoplight.io/open-source/spectral/
• Generate test data: https://microcks.io/
• GitHub action:
https://github.com/WaleedAshraf/asyncapi-github-action
@lornajane
AsyncAPI and You
Open standards, seamless integrations
Resources
• AsyncAPI: https://asyncapi.com
• Aiven: https://aiven.io
• Examples:
https://github.com/aiven/thingum-industries
@lornajane

More Related Content

PDF
Intro to Time Series
InfluxData
 
PPTX
Moving Applications into Azure Kubernetes
Hussein Salman
 
PPTX
Introduction to Apache Kafka
Jeff Holoman
 
PPTX
Introduction to GCP Data Flow Presentation
Knoldus Inc.
 
PPTX
Apache Kafka
Saroj Panyasrivanit
 
PDF
Let's build Developer Portal with Backstage
Opsta
 
PDF
Real-time Adaptation of Financial Market Events with Kafka | Cliff Cheng and ...
HostedbyConfluent
 
PPTX
Squirreling Away $640 Billion: How Stripe Leverages Flink for Change Data Cap...
Flink Forward
 
Intro to Time Series
InfluxData
 
Moving Applications into Azure Kubernetes
Hussein Salman
 
Introduction to Apache Kafka
Jeff Holoman
 
Introduction to GCP Data Flow Presentation
Knoldus Inc.
 
Apache Kafka
Saroj Panyasrivanit
 
Let's build Developer Portal with Backstage
Opsta
 
Real-time Adaptation of Financial Market Events with Kafka | Cliff Cheng and ...
HostedbyConfluent
 
Squirreling Away $640 Billion: How Stripe Leverages Flink for Change Data Cap...
Flink Forward
 

What's hot (20)

PDF
S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트:: AWS Summit Onli...
Amazon Web Services Korea
 
PDF
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Kai Wähner
 
PPTX
Performance of Microservice frameworks on different JVMs
Maarten Smeets
 
PPTX
Introduction to Apache Kafka
AIMDek Technologies
 
PDF
How to tune Kafka® for production
confluent
 
PDF
A short introduction to Canis Major
FIWARE
 
PPTX
Logs, metrics and real time data analytics
Ewere Diagboya
 
PDF
AWS ECS vs EKS
Norberto Enomoto
 
PDF
Event Driven Architecture: Mistakes, I've made a few...
confluent
 
PDF
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB)
Kai Wähner
 
PPTX
“Alexa, be quiet!”: End-to-end near-real time model building and evaluation i...
Flink Forward
 
PPTX
kafka
Amikam Snir
 
PDF
Introduction to Google Cloud Platform
Sujai Prakasam
 
PPTX
Understand AWS Pricing
Lynn Langit
 
PDF
Apache Kafka Architecture & Fundamentals Explained
confluent
 
PDF
Serverless Architecture on AWS
Rajind Ruparathna
 
PDF
Scalable complex event processing on samza @UBER
Shuyi Chen
 
PDF
Reactive Microservices with Spring 5: WebFlux
Trayan Iliev
 
PPTX
Introduction to Google Cloud Platform
dhruv_chaudhari
 
S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트:: AWS Summit Onli...
Amazon Web Services Korea
 
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Kai Wähner
 
Performance of Microservice frameworks on different JVMs
Maarten Smeets
 
Introduction to Apache Kafka
AIMDek Technologies
 
How to tune Kafka® for production
confluent
 
A short introduction to Canis Major
FIWARE
 
Logs, metrics and real time data analytics
Ewere Diagboya
 
AWS ECS vs EKS
Norberto Enomoto
 
Event Driven Architecture: Mistakes, I've made a few...
confluent
 
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB)
Kai Wähner
 
“Alexa, be quiet!”: End-to-end near-real time model building and evaluation i...
Flink Forward
 
Introduction to Google Cloud Platform
Sujai Prakasam
 
Understand AWS Pricing
Lynn Langit
 
Apache Kafka Architecture & Fundamentals Explained
confluent
 
Serverless Architecture on AWS
Rajind Ruparathna
 
Scalable complex event processing on samza @UBER
Shuyi Chen
 
Reactive Microservices with Spring 5: WebFlux
Trayan Iliev
 
Introduction to Google Cloud Platform
dhruv_chaudhari
 
Ad

Similar to Intro to AsyncAPI (20)

PDF
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Kai Wähner
 
PPTX
Kafka Streams for Java enthusiasts
Slim Baltagi
 
PDF
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Kai Wähner
 
PDF
Integrating Apache Kafka and Elastic Using the Connect Framework
confluent
 
PDF
Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...
confluent
 
PDF
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Kai Wähner
 
PDF
How to Leverage the Apache Kafka Ecosystem to Productionize Machine Learning ...
Codemotion
 
PDF
Machine Learning Trends of 2018 combined with the Apache Kafka Ecosystem
Kai Wähner
 
PDF
Confluent REST Proxy and Schema Registry (Concepts, Architecture, Features)
Kai Wähner
 
PDF
Deep Learning at Extreme Scale (in the Cloud) 
with the Apache Kafka Open Sou...
Kai Wähner
 
PDF
Scala usergroup stockholm - reactive integrations with akka streams
Johan Andrén
 
PDF
Cloud lunch and learn real-time streaming in azure
Timothy Spann
 
PDF
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies...
HostedbyConfluent
 
PDF
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies?
Kai Wähner
 
PDF
Integrating Apache Kafka Into Your Environment
confluent
 
PDF
Confluent Enterprise Datasheet
confluent
 
PDF
Apache Kafka Open Source Ecosystem for Machine Learning at Extreme Scale (Apa...
Kai Wähner
 
PDF
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
 
PPTX
Quick overview of Openstack architecture
Toni Ramirez
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Kai Wähner
 
Kafka Streams for Java enthusiasts
Slim Baltagi
 
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Kai Wähner
 
Integrating Apache Kafka and Elastic Using the Connect Framework
confluent
 
Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...
confluent
 
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Kai Wähner
 
How to Leverage the Apache Kafka Ecosystem to Productionize Machine Learning ...
Codemotion
 
Machine Learning Trends of 2018 combined with the Apache Kafka Ecosystem
Kai Wähner
 
Confluent REST Proxy and Schema Registry (Concepts, Architecture, Features)
Kai Wähner
 
Deep Learning at Extreme Scale (in the Cloud) 
with the Apache Kafka Open Sou...
Kai Wähner
 
Scala usergroup stockholm - reactive integrations with akka streams
Johan Andrén
 
Cloud lunch and learn real-time streaming in azure
Timothy Spann
 
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies...
HostedbyConfluent
 
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies?
Kai Wähner
 
Integrating Apache Kafka Into Your Environment
confluent
 
Confluent Enterprise Datasheet
confluent
 
Apache Kafka Open Source Ecosystem for Machine Learning at Extreme Scale (Apa...
Kai Wähner
 
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
 
Quick overview of Openstack architecture
Toni Ramirez
 
Ad

More from confluent (20)

PDF
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
confluent
 
PPTX
Webinar Think Right - Shift Left - 19-03-2025.pptx
confluent
 
PDF
Migration, backup and restore made easy using Kannika
confluent
 
PDF
Five Things You Need to Know About Data Streaming in 2025
confluent
 
PDF
Data in Motion Tour Seoul 2024 - Keynote
confluent
 
PDF
Data in Motion Tour Seoul 2024 - Roadmap Demo
confluent
 
PDF
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
confluent
 
PDF
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
confluent
 
PDF
Data in Motion Tour 2024 Riyadh, Saudi Arabia
confluent
 
PDF
Build a Real-Time Decision Support Application for Financial Market Traders w...
confluent
 
PDF
Strumenti e Strategie di Stream Governance con Confluent Platform
confluent
 
PDF
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
confluent
 
PDF
Building Real-Time Gen AI Applications with SingleStore and Confluent
confluent
 
PDF
Unlocking value with event-driven architecture by Confluent
confluent
 
PDF
Il Data Streaming per un’AI real-time di nuova generazione
confluent
 
PDF
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
confluent
 
PDF
Break data silos with real-time connectivity using Confluent Cloud Connectors
confluent
 
PDF
Building API data products on top of your real-time data infrastructure
confluent
 
PDF
Speed Wins: From Kafka to APIs in Minutes
confluent
 
PDF
Evolving Data Governance for the Real-time Streaming and AI Era
confluent
 
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
confluent
 
Webinar Think Right - Shift Left - 19-03-2025.pptx
confluent
 
Migration, backup and restore made easy using Kannika
confluent
 
Five Things You Need to Know About Data Streaming in 2025
confluent
 
Data in Motion Tour Seoul 2024 - Keynote
confluent
 
Data in Motion Tour Seoul 2024 - Roadmap Demo
confluent
 
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
confluent
 
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
confluent
 
Data in Motion Tour 2024 Riyadh, Saudi Arabia
confluent
 
Build a Real-Time Decision Support Application for Financial Market Traders w...
confluent
 
Strumenti e Strategie di Stream Governance con Confluent Platform
confluent
 
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
confluent
 
Building Real-Time Gen AI Applications with SingleStore and Confluent
confluent
 
Unlocking value with event-driven architecture by Confluent
confluent
 
Il Data Streaming per un’AI real-time di nuova generazione
confluent
 
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
confluent
 
Break data silos with real-time connectivity using Confluent Cloud Connectors
confluent
 
Building API data products on top of your real-time data infrastructure
confluent
 
Speed Wins: From Kafka to APIs in Minutes
confluent
 
Evolving Data Governance for the Real-time Streaming and AI Era
confluent
 

Recently uploaded (20)

PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
The Future of Artificial Intelligence (AI)
Mukul
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Software Development Methodologies in 2025
KodekX
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 

Intro to AsyncAPI

  • 2. Introducing: AsyncAPI Specification for describing event-driven and data streaming systems. • https://asyncapi.com • Open standard • Active community • Supports Kafka! And MQTT, AMQP, WS .... @lornajane
  • 3. Why use AsyncAPI? Describe your event-driven systems in a useful and reusable way. • Clearly track changes in a text-based description • Generate documentation and code • Verify system operations against description • Enclose existing payload descriptions (CloudEvents, Avro) within AsyncAPI @lornajane
  • 4. Bunch of JSON/YAML asyncapi: '2.0.0' id: 'urn:com.github.lornajane.example1' info: contact: license: servers: local-kafka: channels: factorysensor: subscribe: message: payload: examples: components: securitySchemes: messages: @lornajane
  • 7. AsyncAPI Structure Top-level elements: • asyncapi and id • info • servers • channels • tags • components @lornajane
  • 8. Info Section Valuable metadata is held in info. info: title: Thingum Industries Sensors description: Keeping the factory and all the machines running nicely version: 1.0.0 contact: name: Lorna email: [email protected] url: https://github.com/aiven/thingum-industries license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @lornajane
  • 9. Channels Section Main operations are described here channels: door-sensor: description: Door sensors (external and internal) subscribe: operationId: DoorSensor description: Open/closed state information from the doors. tags: - name: sensor bindings: kafka: clientId: type: string message: $ref: '#/components/messages/DoorData' @lornajane
  • 10. $ref Reusable Content Refer to content in the components section message: $ref: '#/components/messages/DoorData' Useful for reuse and readability. We can also refer to other files: message: $ref: 'doors-publish.yaml#/components/messages/DoorData' @lornajane
  • 11. Components Section A collection of reusable components components: messages: DoorData: name: door-sensor-data title: Door Sensor Reading description: Door sensor data payload: type: object properties: location: type: string state: enum: ["open", "closed"] @lornajane
  • 12. AsyncAPI Loves Standards AsyncAPI is compatible with other standards: • Avro or CloudEvent payload descriptions can be accessed with $ref • JSONSchema is supported • Based on and builds on OpenAPI @lornajane
  • 15. Generate Code Also using the generator: ag thingum/doors-publish.yaml @asyncapi/nodejs-template -o thingum/nodejs -p server=development @lornajane
  • 16. Tools Landscape • VSCode extension: https://github.com/asyncapi/vs-asyncapi-preview • Validation/linting: https://stoplight.io/open-source/spectral/ • Generate test data: https://microcks.io/ • GitHub action: https://github.com/WaleedAshraf/asyncapi-github-action @lornajane
  • 17. AsyncAPI and You Open standards, seamless integrations
  • 18. Resources • AsyncAPI: https://asyncapi.com • Aiven: https://aiven.io • Examples: https://github.com/aiven/thingum-industries @lornajane