conduktor.io ↗

Kafka AlterClientQuotas Response Wire Format v0 — Binary Protocol Layout

What is AlterClientQuotas?

Sets per-user or per-client-id throughput quotas via kafka-configs.sh --alter --entity-type. Quotas are enforced per broker and can be scoped to user level, client-id level, or their intersection. A missing entry means the default quota applies (unlimited if not configured).

Wire Diagram

Response Header
message_size int32 · 4B
correlation_id int32 · 4B
AlterClientQuotasResponse v0
ThrottleTimeMs int32 · 4B
Entries array
ErrorCode int16 · 2B
ErrorMessage? string
Entity array
EntityType string
EntityName? string

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "Entries": [{
      "ErrorCode": int16,
      "ErrorMessage": string?,
      "Entity": [{
          "EntityType": string,
          "EntityName": string?
      }]
  }]
}
Example
{
  "ThrottleTimeMs": 0,
  "Entries": [{
      "ErrorCode": 0,
      "ErrorMessage": "NETWORK_EXCEPTION",
      "Entity": [{
          "EntityType": "client-id",
          "EntityName": null
      }]
  }]
}