SupportsRealTimeMode Streaming Sources¶
SupportsRealTimeMode is an abstraction of streaming sources that can be used in Real-Time Mode.
Contract¶
mergeOffsets¶
Offset mergeOffsets(
PartitionOffset[] offsets)
See:
Used when:
MicroBatchExecutionstream execution engine is requested to markMicroBatchEnd
planInputPartitions¶
InputPartition[] planInputPartitions(
Offset start)
InputPartitions for the start offset
See:
Used when:
RealTimeStreamScanExecphysical operator is requested for the inputPartitions
prepareForRealTimeMode¶
void prepareForRealTimeMode()
Informs this source that it is executed in real-time mode (with RealTimeTrigger)
See:
Used when:
MicroBatchExecutionstream execution engine is requested for the LogicalPlan