Apache Kafka · AsyncAPI Specification
Apache Kafka
Version 1.0.0
Generic AsyncAPI 2.6 reference template for Apache Kafka. Apache Kafka is a distributed event streaming platform where producers publish records to topics partitioned across a cluster of brokers, and consumers organized into consumer groups subscribe to those topics. This template models the Kafka wire protocol using the AsyncAPI kafka and kafka-secure bindings and is intended to be customized for a specific cluster, topic set, and message schemas. It is not tied to any single Kafka deployment.
View Spec
View on GitHub
Distributed SystemsEvent DrivenMessagingReal-TimeStreamingAsyncAPIWebhooksEvents
Channels
{topic}
Produce a record to a Kafka topic
Generic Kafka topic template. A Kafka topic is an append-only, partitioned, replicated log of records. Producers append records to partitions and consumers read records in offset order within each partition. Replace {topic} with the concrete topic name.
Messages
KafkaRecord
Kafka Record
A single Kafka record (message) carried on a topic partition.
Servers
kafka-secure
kafka-secure
{broker}:9092
Apache Kafka broker endpoint exposed over TLS with SASL/SCRAM authentication. Replace {broker} with the hostname or bootstrap host of a broker in the target cluster. Clients should be configured with the full bootstrap.servers list rather than relying on a single host.
kafka-secure
kafka-secure-mtls
{broker}:9093
Apache Kafka broker endpoint exposed over TLS with mutual TLS (mTLS) client certificate authentication. Use this variant when the cluster is configured with the SSL security protocol and ssl.client.auth set to required.