@Internal public enum PulsarSinkSemantic extends Enum<PulsarSinkSemantic>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE
Semantic.AT_LEAST_ONCE the Flink producer will wait for all outstanding messages in the Pulsar buffers
to be acknowledged by the Pulsar producer on a checkpoint.
|
EXACTLY_ONCE
Semantic.EXACTLY_ONCE the Flink producer will write all messages in a Pulsar transaction that will be
committed to Pulsar on a checkpoint.
|
NONE
Semantic.NONE means that nothing will be guaranteed.
|
| Modifier and Type | Method and Description |
|---|---|
static PulsarSinkSemantic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarSinkSemantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PulsarSinkSemantic EXACTLY_ONCE
public static final PulsarSinkSemantic AT_LEAST_ONCE
public static final PulsarSinkSemantic NONE
public static PulsarSinkSemantic[] values()
for (PulsarSinkSemantic c : PulsarSinkSemantic.values()) System.out.println(c);
public static PulsarSinkSemantic 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 nullCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.