public static enum KafkaProperties.EventProcessorMode extends java.lang.Enum<KafkaProperties.EventProcessorMode>
| Enum Constant and Description |
|---|
POOLED_STREAMING
Use a
PooledStreamingEventProcessor to publish messages. |
SUBSCRIBING
For producing messages a
SubscribingEventProcessor will be used, that
will utilize Kafka's transactions for sending. |
TRACKING
Use a
TrackingEventProcessor to publish messages. |
| Modifier and Type | Method and Description |
|---|---|
static KafkaProperties.EventProcessorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KafkaProperties.EventProcessorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaProperties.EventProcessorMode SUBSCRIBING
SubscribingEventProcessor will be used, that
will utilize Kafka's transactions for sending. A
SubscribableKafkaMessageSource
will be created for consuming messages.public static final KafkaProperties.EventProcessorMode TRACKING
TrackingEventProcessor to publish messages. A
StreamableKafkaMessageSource
will be created for consuming messages.public static final KafkaProperties.EventProcessorMode POOLED_STREAMING
PooledStreamingEventProcessor to publish messages. A
StreamableKafkaMessageSource
will be created for consuming messages.public static KafkaProperties.EventProcessorMode[] values()
for (KafkaProperties.EventProcessorMode c : KafkaProperties.EventProcessorMode.values()) System.out.println(c);
public static KafkaProperties.EventProcessorMode 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 © 2010–2023. All rights reserved.