Enum KRaftMetadataStorage

java.lang.Object
java.lang.Enum<KRaftMetadataStorage>
io.strimzi.api.kafka.model.kafka.KRaftMetadataStorage
All Implemented Interfaces:
Serializable, Comparable<KRaftMetadataStorage>

public enum KRaftMetadataStorage extends Enum<KRaftMetadataStorage>
Enum that is used to define if the volume should be used to store the KRaft metadata. Currently, it has only two options: - shared for a volume that should share both KRaft metadata and regular logs - Null for automatic assignment of the KRaft metadata to the volume with lowest ID
  • Enum Constant Details

  • Method Details

    • values

      public static KRaftMetadataStorage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static KRaftMetadataStorage valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static KRaftMetadataStorage forValue(String value)
    • toValue

      public String toValue()