AsyncAPI

Terms

  • gateway: intercepts all incoming messages and routes them through the middleware and handler pipelines.

Highlights

  • "Like with OpenAPI, an AsyncAPI documents an application from the client perspective."
  • "there is no client/server paradigm... AsyncAPI approaches this by describing an application as having two potential roles:
    • If it sends messages to a channel, it's a “Publisher".
    • If it is interested in receiving messages from a channel, it is a “Subscriber"...
    • The exception to the rule is websockets - there is a client/server paradigm rather than a messaging infrastructure - so other applications will connect directly to the server."

Comparison

Comparand OpenAPI

Comparand Cloudevents

  • https://www.asyncapi.com/blog/asyncapi-cloud-events
    • "Unlike CloudEvents —who focuses on the message— AsyncAPI does not impose how your event must look like but, instead, allows you to strictly define its shape."
    • "We can define the event payload but its structure is totally free and user-defined. And that's what makes AsyncAPI so powerful! Since our event payload can be anything, it can also be a CloudEvents event."
  • https://atamel.dev/posts/2023/05-23_asyncapi_cloudevents/
    • CloudEvents help to define the format of the events and AsyncAPI helps to define the event-driven APIs.

Solutions

  • Zenwave java-based toolkit for Domain Driven Design (DDD) and API-First

Resources

c#


Children
  1. AsyncAPI.Net
  2. Modelina
  3. Studio

Backlinks