conduktor.io ↗

Kafka AlterConfigs Response Wire Format v1 — 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
message_size int32 · 4B
correlation_id int32 · 4B
AlterConfigsResponse v1
ThrottleTimeMs int32 · 4B
Responses array
ErrorCode int16 · 2B
ErrorMessage? string
ResourceType int8 · 1B
ResourceName string

Schema & Example

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