public static enum KafkaCommitHandler.Strategy extends Enum<KafkaCommitHandler.Strategy>
Modifier and Type | Method and Description |
---|---|
static KafkaCommitHandler.Strategy |
from(String s) |
static KafkaCommitHandler.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaCommitHandler.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaCommitHandler.Strategy LATEST
public static final KafkaCommitHandler.Strategy IGNORE
public static final KafkaCommitHandler.Strategy THROTTLED
public static KafkaCommitHandler.Strategy[] values()
for (KafkaCommitHandler.Strategy c : KafkaCommitHandler.Strategy.values()) System.out.println(c);
public static KafkaCommitHandler.Strategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static KafkaCommitHandler.Strategy from(String s)
Copyright © 2018–2021 SmallRye. All rights reserved.