Enum Class KafkaConfigBuilder.AutoOffsetReset

java.lang.Object
java.lang.Enum<KafkaConfigBuilder.AutoOffsetReset>
io.helidon.messaging.connectors.kafka.KafkaConfigBuilder.AutoOffsetReset
All Implemented Interfaces:
Serializable, Comparable<KafkaConfigBuilder.AutoOffsetReset>, Constable
Enclosing class:
KafkaConfigBuilder

public static enum KafkaConfigBuilder.AutoOffsetReset extends Enum<KafkaConfigBuilder.AutoOffsetReset>
What to do when there is no initial offset in Kafka.
  • Enum Constant Details

  • Method Details

    • values

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

      public static KafkaConfigBuilder.AutoOffsetReset valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null