conduktor.io ↗

Kafka AlterConfigs Response Wire Format v2 — Binary Protocol Layout

What is AlterConfigs?

Updates broker or topic configuration, but replaces the entire config, not just the changed keys. Prefer IncrementalAlterConfigs for any new code; AlterConfigs silently resets configs not explicitly included in the request.

Related Errors

NOT_CONTROLLER · POLICY_VIOLATION

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
AlterConfigsResponse v2
ThrottleTimeMs int32 · 4B
Responses array
tagged var
ErrorCode int16 · 2B
ErrorMessage? string (compact)
ResourceType int8 · 1B
ResourceName string (compact)
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "Responses": [{
      "ErrorCode": int16,
      "ErrorMessage": string?,
      "ResourceType": int8,
      "ResourceName": string
  }]
}
Example
{
  "ThrottleTimeMs": 0,
  "Responses": [{
      "ErrorCode": 0,
      "ErrorMessage": "NETWORK_EXCEPTION",
      "ResourceType": 2,
      "ResourceName": "orders"
  }]
}