@DefaultCoder(value=org.apache.beam.sdk.coders.SerializableCoder.class) public class KafkaCheckpointMark extends Object implements UnboundedSource.CheckpointMark, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
KafkaCheckpointMark.PartitionMark
A tuple to hold topic, partition, and offset that comprise the checkpoint
for a single partition.
|
| Constructor and Description |
|---|
KafkaCheckpointMark(List<KafkaCheckpointMark.PartitionMark> partitions) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeCheckpoint() |
List<KafkaCheckpointMark.PartitionMark> |
getPartitions() |
public KafkaCheckpointMark(List<KafkaCheckpointMark.PartitionMark> partitions)
public List<KafkaCheckpointMark.PartitionMark> getPartitions()
public void finalizeCheckpoint()
throws IOException
finalizeCheckpoint in interface UnboundedSource.CheckpointMarkIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.