conduktor.io ↗

Kafka ApiVersions Request Wire Format v2 — Binary Protocol Layout

What is ApiVersions?

Clients can use this API to discover version ranges advertised by the connected broker or controller. The result depends on the listener and enabled features. Clients may select a mutually supported version; this does not guarantee semantic compatibility, and unsupported-version errors still require handling. ApiVersions responses always use response header v0, including flexible bodies.

Related Errors

INVALID_REQUEST · REBOOTSTRAP_REQUIRED · UNSUPPORTED_VERSION

Wire Diagram

Request Header v1
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id? nullable string · int16 length
ApiVersionsRequest v2

Schema & Example

Schema
{

}
Illustrative values (not encoded bytes)
{

}