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
public FeatureUpdate(short maxVersionLevel, boolean allowDowngrade) - Parameters:
maxVersionLevel
- the new maximum version level for the finalized feature. a value < 1 is special and indicates that the update is intended to delete the finalized feature, and should be accompanied by setting the allowDowngrade flag to true.allowDowngrade
- - true, if this feature update was meant to downgrade the existing maximum version level of the finalized feature. - false, otherwise.
-
-
Method Details