Package org.apache.kafka.clients.admin
Class FeatureUpdate
java.lang.Object
org.apache.kafka.clients.admin.FeatureUpdate
public class FeatureUpdate extends Object
Encapsulates details about an update to a finalized feature.
-
Constructor Summary
Constructors Constructor Description FeatureUpdate(short maxVersionLevel, boolean allowDowngrade)
-
Method Summary
Modifier and Type Method Description boolean
allowDowngrade()
boolean
equals(Object other)
int
hashCode()
short
maxVersionLevel()
String
toString()
-
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