conduktor.io ↗

Kafka ApiVersions Request Wire Format v1 — Binary Protocol Layout

What is ApiVersions?

Sent by every client on every new connection to discover what API versions the broker supports. UNSUPPORTED_VERSION errors in client logs appear when a client is newer than the broker; this API prevents that by letting the client downgrade gracefully.

Related Errors

INVALID_REQUEST · UNSUPPORTED_VERSION

Wire Diagram

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

Schema & Example

Schema
{

}
Example
{

}