...
1// From KIP-584 and introduced in 2.7.0, this request updates broker-wide features.
2UpdateFeaturesRequest => key 57, max version 1, flexible v0+, admin
3 TimeoutMillis(60000)
4 // The list of updates to finalized features.
5 FeatureUpdates: [=>]
6 // The name of the finalized feature to update.
7 Feature: string
8 // The new maximum version level for the finalized feature. A value >= 1 is
9 // valid. A value < 1, is special, and can be used to request the deletion
10 // of the finalized feature.
11 MaxVersionLevel: int16
12 // When set to true, the finalized feature version level is allowed to be
13 // downgraded/deleted. The downgrade request will fail if the new maximum
14 // version level is a value that's not lower than the existing maximum
15 // finalized version level.
16 //
17 // Replaced in v1 with ValidateOnly.
18 AllowDowngrade: bool // v0-v0
19 // Determine which type of upgrade will be performed: 1 will perform an
20 // upgrade only (default), 2 is safe downgrades only (lossless), 3 is
21 // unsafe downgrades (lossy).
22 UpgradeType: int8 // v1+
23 // True if we should validate the request, but not perform the upgrade or
24 // downgrade.
25 ValidateOnly: bool // v1+
26
27UpdateFeaturesResponse =>
28 ThrottleMillis
29 // The top level error code, if any.
30 ErrorCode: int16
31 // An informative message if the request errored, if any.
32 ErrorMessage: nullable-string
33 // The results for each feature update request.
34 Results: [=>]
35 // The name of the finalized feature.
36 Feature: string
37 // The feature update error code, if any.
38 ErrorCode: int16
39 // The feature update error, if any.
40 ErrorMessage: nullable-string
View as plain text