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.
| Version | Kafka | Changes |
|---|---|---|
| IncrementalAlterConfigsRequest | ||
| v0 | 2.3 | + Resources []AlterConfigsResource+ ResourceType int8+ ResourceName string+ Configs []AlterableConfig+ Name string+ ConfigOperation int8+ Value string+ ValidateOnly bool |
| v1 | 2.4 | ~ Flexible encoding enabled FLEXIBLE is the first flexible version. |
| IncrementalAlterConfigsResponse | ||
| v0 | 2.3 | + ThrottleTimeMs int32+ Responses []AlterConfigsResourceResponse+ ErrorCode int16+ ErrorMessage string+ ResourceType int8+ ResourceName string |
| v1 | 2.4 | ~ Flexible encoding enabled FLEXIBLE is the first flexible version. |