Skip to main content

Module features

Module features 

Source
Expand description

Feature-finalization admission for one UpdateFeatures row.

The decision follows Kafka 4.3.1’s FeatureControlManager.updateFeature check for check: the upgrade type, a negative level, every node’s support (reasonNotSupported), the update direction against the current level (an unfinalized feature reads as level 0), and then the per-feature tail: updateMetadataVersion’s didMetadataChange refusal for metadata.version, the no-downgrade rule for kraft.version, and Feature.validateVersion’s KIP-1022 dependencies for every other feature.

Structs§

FeatureLevels
The levels one feature row compares.
FeatureUpdateFacts
Everything one UpdateFeatures row is decided on.

Enums§

FeatureKind
Which branch of updateFeature decides the row after the shared checks, with the one fact that branch reads.
FeatureUpdateDecision
The first failed rule, or what an admitted row does.
FeatureUpdateType
KIP-584 FeatureUpdate.UpgradeType, decoded from the request.

Functions§

feature_update_decision
Decide one feature row from the host’s facts.