public static enum KinesisConsumerProperties.KinesisListenerMode extends Enum<KinesisConsumerProperties.KinesisListenerMode>
ListenerMode
Enum Constant and Description |
---|
batch
Each
Message will contain List<byte[]> from Record list if not
empty. |
rawRecords
Each
Message will contain List<Record> if not empty. |
record
Each
Message will be converted from a single Record . |
Modifier and Type | Method and Description |
---|---|
static KinesisConsumerProperties.KinesisListenerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KinesisConsumerProperties.KinesisListenerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KinesisConsumerProperties.KinesisListenerMode record
Message
will be converted from a single Record
.public static final KinesisConsumerProperties.KinesisListenerMode batch
Message
will contain List<byte[]>
from Record
list if not
empty.public static final KinesisConsumerProperties.KinesisListenerMode rawRecords
Message
will contain List<Record>
if not empty.public static KinesisConsumerProperties.KinesisListenerMode[] values()
for (KinesisConsumerProperties.KinesisListenerMode c : KinesisConsumerProperties.KinesisListenerMode.values()) System.out.println(c);
public static KinesisConsumerProperties.KinesisListenerMode 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 © 2018 Pivotal Software, Inc.. All rights reserved.