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 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

    • maxVersionLevel

      public short maxVersionLevel()
    • allowDowngrade

      public boolean allowDowngrade()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object