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
message_size
int32 · 4B
correlation_id
int32 · 4B
IncrementalAlterConfigsResponse v0
ThrottleTimeMs
int32 · 4B
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" }] }