What is UpdateFeatures?
Finalizes feature version flags during cluster upgrades via kafka-features.sh. After all brokers support a new feature version, an operator calls this to activate it. Some features (like the new consumer group protocol) are gated behind feature flags and require explicit activation.
Wire Diagram
Response Header · flexible
message_size
int32 · 4B
correlation_id
int32 · 4B
tagged
var
UpdateFeaturesResponse v1
ThrottleTimeMs
int32 · 4B
ErrorCode
int16 · 2B
ErrorMessage?
string (compact)
tagged
var
Feature
string (compact)
ErrorCode
int16 · 2B
ErrorMessage?
string (compact)
tagged
var
Schema & Example
Schema { "ThrottleTimeMs": int32, "ErrorCode": int16, "ErrorMessage": string?, "Results": [{ "Feature": string, "ErrorCode": int16, "ErrorMessage": string? }] }
Example { "ThrottleTimeMs": 0, "ErrorCode": 0, "ErrorMessage": "NETWORK_EXCEPTION", "Results": [{ "Feature": "kraft.version", "ErrorCode": 0, "ErrorMessage": null }] }