Skip to content

AsyncAPI Protocol Bindings

An AsyncAPI binding is a mechanism that defines protocol-specific information for different components of your event-driven architecture. Bindings allow you to describe details that are not part of the core AsyncAPI specification but are essential for interacting with a specific message broker or protocol.

Binding Types

There are four types of bindings, each targeting a different component of your AsyncAPI document.

Binding TypePurposeDescription
Server BindingDefine server-specific configurationsSpecifies connection details for a message broker, such as security credentials, schema registry URLs (e.g., for Kafka), or virtual hosts (e.g., for AMQP).
Channel BindingDefine channel-specific propertiesDescribes the configuration of a specific channel or topic, such as the topic's retention policy (Kafka), a queue's durability (AMQP), or whether a topic is FIFO (SNS).
Operation BindingDefine producer/consumer configurationsSpecifies how an application interacts with a channel, such as consumer group settings (Kafka), subscription filter policies (SNS), or quality of service (QoS) levels (MQTT).
Message BindingDefine message-specific metadataDescribes protocol-level details for a message, such as a message key (Kafka), content type, or other message headers specific to the protocol.

Available Bindings

Here is a list of all the currently supported protocol bindings. Each link will take you to a detailed guide for that specific protocol, including all available versions and their properties.