Package | Description |
---|---|
org.apache.flink.streaming.connectors.kafka | |
org.apache.flink.streaming.connectors.kafka.config |
Modifier and Type | Method and Description |
---|---|
protected static Map<KafkaTopicPartition,Long> |
FlinkKafkaConsumerBase.initializeSubscribedPartitionsToStartOffsets(List<KafkaTopicPartition> kafkaTopicPartitions,
int indexOfThisSubtask,
int numParallelSubtasks,
StartupMode startupMode,
Map<KafkaTopicPartition,Long> specificStartupOffsets)
Initializes
FlinkKafkaConsumerBase.subscribedPartitionsToStartOffsets with appropriate
values. |
Modifier and Type | Method and Description |
---|---|
static StartupMode |
StartupMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupMode[] |
StartupMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.