conduktor.io ↗

Kafka DescribeClientQuotas Response Wire Format v0 — Binary Protocol Layout

What is DescribeClientQuotas?

Returns per-user or per-client-id throttle limits via kafka-configs.sh --describe --entity-type users/clients. Check this first when a client reports being throttled unexpectedly.

Related Errors

CLUSTER_AUTHORIZATION_FAILED

Wire Diagram

Response Header
message_size int32 · 4B
correlation_id int32 · 4B
DescribeClientQuotasResponse v0
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string
Entries? array
Entity array
Values array
EntityType string
EntityName? string
Key string
Value float64 · 8B

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "ErrorMessage": string?,
  "Entries": [{
      "Entity": [{
          "EntityType": string,
          "EntityName": string?
      }],
      "Values": [{
          "Key": string,
          "Value": float64
      }]
  }]?
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "ErrorMessage": null,
  "Entries": [{
      "Entity": [{
          "EntityType": "client-id",
          "EntityName": "orders"
      }],
      "Values": [{
          "Key": "retention.ms",
          "Value": 0.0
      }]
  }]?
}