Modifier and Type | Method and Description |
---|---|
SplitEnumerator<PulsarPartitionSplit,PulsarSourceEnumState> |
PulsarSource.createEnumerator(SplitEnumeratorContext<PulsarPartitionSplit> enumContext) |
SimpleVersionedSerializer<PulsarSourceEnumState> |
PulsarSource.getEnumeratorCheckpointSerializer() |
SplitEnumerator<PulsarPartitionSplit,PulsarSourceEnumState> |
PulsarSource.restoreEnumerator(SplitEnumeratorContext<PulsarPartitionSplit> enumContext,
PulsarSourceEnumState checkpoint) |
Modifier and Type | Method and Description |
---|---|
SplitEnumerator<PulsarPartitionSplit,PulsarSourceEnumState> |
PulsarSource.restoreEnumerator(SplitEnumeratorContext<PulsarPartitionSplit> enumContext,
PulsarSourceEnumState checkpoint) |
Modifier and Type | Method and Description |
---|---|
PulsarSourceEnumState |
PulsarSourceEnumStateSerializer.deserialize(int version,
byte[] serialized) |
static PulsarSourceEnumState |
PulsarSourceEnumState.initialState()
The initial assignment state for Pulsar.
|
PulsarSourceEnumState |
PulsarSourceEnumerator.snapshotState(long checkpointId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
PulsarSourceEnumStateSerializer.serialize(PulsarSourceEnumState obj) |
Constructor and Description |
---|
PulsarSourceEnumerator(PulsarSubscriber subscriber,
StartCursor startCursor,
StopCursor stopCursor,
RangeGenerator rangeGenerator,
SourceConfiguration sourceConfiguration,
SplitEnumeratorContext<PulsarPartitionSplit> context,
PulsarSourceEnumState enumState) |
Modifier and Type | Method and Description |
---|---|
PulsarSourceEnumState |
SplitAssigner.snapshotState()
Snapshot the current assign state into checkpoint.
|
Modifier and Type | Method and Description |
---|---|
static SplitAssigner |
SplitAssignerFactory.createAssigner(StopCursor stopCursor,
SourceConfiguration sourceConfiguration,
SplitEnumeratorContext<PulsarPartitionSplit> context,
PulsarSourceEnumState enumState) |
Constructor and Description |
---|
KeySharedSplitAssigner(StopCursor stopCursor,
boolean enablePartitionDiscovery,
SplitEnumeratorContext<PulsarPartitionSplit> context,
PulsarSourceEnumState enumState) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.