Package org.apache.kafka.clients.admin
Class FeatureUpdate
java.lang.Object
org.apache.kafka.clients.admin.FeatureUpdate
Encapsulates details about an update to a finalized feature.
-
Constructor Details
-
FeatureUpdate
- Parameters:
maxVersionLevel
- The new maximum version level for the finalized feature. a value of zero is special and indicates that the update is intended to delete the finalized feature, and should be accompanied by setting the upgradeType to safe or unsafe.upgradeType
- Indicate what kind of upgrade should be performed in this operation. - UPGRADE: upgrading the feature level - SAFE_DOWNGRADE: only downgrades which do not result in metadata loss are permitted - UNSAFE_DOWNGRADE: any downgrade, including those which may result in metadata loss, are permitted
-
-
Method Details