Kafka wire protocol packet diagrams
One page per Kafka API, generated from the message schemas on apache/kafka branch 4.0. Each page encodes a minimal example of the request and the response at the highest valid version and draws it as an RFC-style byte grid, an expanded object tree and the raw schema.84 APIs.
Records
Consumer groups
Share groups
Transactions
Topics and partitions
3Metadata(v13)19CreateTopics(v7)20DeleteTopics(v6)21DeleteRecords(v2)23OffsetForLeaderEpoch(v4)34AlterReplicaLogDirs(v2)35DescribeLogDirs(v4)37CreatePartitions(v3)43ElectLeaders(v2)45AlterPartitionReassignments(v0)46ListPartitionReassignments(v0)56AlterPartition(v3)73AssignReplicasToDirs(v0)75DescribeTopicPartitions(v0)
Security and ACLs
Configuration and quotas
Cluster and KRaft
18ApiVersions(v4)52Vote(v2)53BeginQuorumEpoch(v1)54EndQuorumEpoch(v1)55DescribeQuorum(v2)57UpdateFeatures(v2)58Envelope(v0)59FetchSnapshot(v1)60DescribeCluster(v2)62BrokerRegistration(v4)63BrokerHeartbeat(v1)64UnregisterBroker(v0)70ControllerRegistration(v0)71GetTelemetrySubscriptions(v0)72PushTelemetry(v0)74ListClientMetricsResources(v0)80AddRaftVoter(v0)81RemoveRaftVoter(v0)82UpdateRaftVoter(v0)