| Package | Description |
|---|---|
| org.apache.flink.streaming.connectors.kafka | |
| org.apache.flink.streaming.connectors.kafka.internals |
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<KafkaTopicPartition,Long> |
FlinkKafkaConsumerBase.offsetsState
The offsets of the last returned elements
|
protected HashMap<KafkaTopicPartition,Long> |
FlinkKafkaConsumerBase.restoreToOffset
The offsets to restore to, if the consumer restores state from a checkpoint
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<KafkaTopicPartition,Long> |
FlinkKafkaConsumerBase.snapshotState(long checkpointId,
long checkpointTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
FlinkKafkaConsumerBase.commitOffsets(HashMap<KafkaTopicPartition,Long> checkpointOffsets) |
static void |
FlinkKafkaConsumerBase.logPartitionInfo(List<KafkaTopicPartition> partitionInfos)
Method to log partition information.
|
void |
FlinkKafkaConsumerBase.restoreState(HashMap<KafkaTopicPartition,Long> restoredOffsets) |
| Modifier and Type | Method and Description |
|---|---|
KafkaTopicPartition |
KafkaTopicPartitionLeader.getTopicPartition() |
| Modifier and Type | Method and Description |
|---|---|
static List<KafkaTopicPartition> |
KafkaTopicPartition.dropLeaderData(List<KafkaTopicPartitionLeader> partitionInfos) |
| Modifier and Type | Method and Description |
|---|---|
static String |
KafkaTopicPartition.toString(List<KafkaTopicPartition> partitions) |
static String |
KafkaTopicPartition.toString(Map<KafkaTopicPartition,Long> map) |
| Constructor and Description |
|---|
KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition,
org.apache.kafka.common.Node leader) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.