What is IncrementalAlterConfigs?
Applies targeted config changes via kafka-configs.sh (v2.3+) without touching other settings. Supports SET, DELETE, APPEND, and SUBTRACT operations. Use this instead of AlterConfigs, which is legacy and wipes unspecified keys.
Wire Diagram
Response Header · flexible
message_size
int32 · 4B
correlation_id
int32 · 4B
tagged
var
IncrementalAlterConfigsResponse v1
ThrottleTimeMs
int32 · 4B
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" }] }