Enum ConsumerConfigConstants.RecordPublisherType
- java.lang.Object
-
- java.lang.Enum<ConsumerConfigConstants.RecordPublisherType>
-
- org.apache.flink.streaming.connectors.kinesis.config.ConsumerConfigConstants.RecordPublisherType
-
- All Implemented Interfaces:
Serializable,Comparable<ConsumerConfigConstants.RecordPublisherType>
- Enclosing class:
- ConsumerConfigConstants
public static enum ConsumerConfigConstants.RecordPublisherType extends Enum<ConsumerConfigConstants.RecordPublisherType>
The record publisher type represents the record-consume style.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsumerConfigConstants.RecordPublisherTypevalueOf(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.
-
-
-
Enum Constant Detail
-
EFO
public static final ConsumerConfigConstants.RecordPublisherType EFO
Consume the Kinesis records using AWS SDK v2 with the enhanced fan-out consumer.
-
POLLING
public static final ConsumerConfigConstants.RecordPublisherType POLLING
Consume the Kinesis records using AWS SDK v1 with the get-records method.
-
-
Method Detail
-
values
public static ConsumerConfigConstants.RecordPublisherType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConsumerConfigConstants.RecordPublisherType c : ConsumerConfigConstants.RecordPublisherType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsumerConfigConstants.RecordPublisherType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-