public static enum ConsumerConfigConstants.RecordPublisherType extends Enum<ConsumerConfigConstants.RecordPublisherType>
Enum Constant and Description |
---|
EFO
Consume the Kinesis records using AWS SDK v2 with the enhanced fan-out consumer.
|
POLLING
Consume the Kinesis records using AWS SDK v1 with the get-records method.
|
Modifier and Type | Method and Description |
---|---|
static ConsumerConfigConstants.RecordPublisherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerConfigConstants.RecordPublisherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerConfigConstants.RecordPublisherType EFO
public static final ConsumerConfigConstants.RecordPublisherType POLLING
public static ConsumerConfigConstants.RecordPublisherType[] values()
for (ConsumerConfigConstants.RecordPublisherType c : ConsumerConfigConstants.RecordPublisherType.values()) System.out.println(c);
public static ConsumerConfigConstants.RecordPublisherType 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 © 2014–2023 The Apache Software Foundation. All rights reserved.