public enum KafkaProducerSemantic extends java.lang.Enum<KafkaProducerSemantic>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE |
EXACTLY_ONCE |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static KafkaProducerSemantic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KafkaProducerSemantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaProducerSemantic EXACTLY_ONCE
public static final KafkaProducerSemantic AT_LEAST_ONCE
public static final KafkaProducerSemantic NONE
public static KafkaProducerSemantic[] values()
for (KafkaProducerSemantic c : KafkaProducerSemantic.values()) System.out.println(c);
public static KafkaProducerSemantic valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.