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 · flexible
message_size
int32 · 4B
correlation_id
int32 · 4B
tagged
var
AlterClientQuotasResponse v1
ThrottleTimeMs
int32 · 4B
tagged
var
ErrorCode
int16 · 2B
ErrorMessage?
string (compact)
tagged
var
EntityType
string (compact)
EntityName?
string (compact)
tagged
var
Schema & Example
Schema { "ThrottleTimeMs": int32, "Entries": [{ "ErrorCode": int16, "ErrorMessage": string?, "Entity": [{ "EntityType": string, "EntityName": string? }] }] }
Example { "ThrottleTimeMs": 0, "Entries": [{ "ErrorCode": 0, "ErrorMessage": null, "Entity": [{ "EntityType": "client-id", "EntityName": "orders" }] }] }