public static enum KafkaFailureHandler.Strategy extends Enum<KafkaFailureHandler.Strategy>
Enum Constant and Description |
---|
DEAD_LETTER_QUEUE |
FAIL |
IGNORE |
Modifier and Type | Method and Description |
---|---|
static KafkaFailureHandler.Strategy |
from(String s) |
static KafkaFailureHandler.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaFailureHandler.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaFailureHandler.Strategy FAIL
public static final KafkaFailureHandler.Strategy IGNORE
public static final KafkaFailureHandler.Strategy DEAD_LETTER_QUEUE
public static KafkaFailureHandler.Strategy[] values()
for (KafkaFailureHandler.Strategy c : KafkaFailureHandler.Strategy.values()) System.out.println(c);
public static KafkaFailureHandler.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 KafkaFailureHandler.Strategy from(String s)
Copyright © 2018–2021 SmallRye. All rights reserved.