You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
offsetLog, A write-ahead-log that records the offsets that are present in each batch. In order to ensure that a given batch will always consist of the same data, we write to this log before any processing is done. Thus, the Nth record in this log indicated data that is currently being processed and the N-1th entry indicates which offsets have been durably committed to the sink.
getLatest(), return latest batchId and OffsetSeq.
get(batchId), return OffsetSeq.
commitLog, keep track the latest commit batchId.
getLatest(), return the latest commit batchId.
committedOffsets, **** tracks how much data we have processed and committed to the sink or state store from each input source.
availableOffsets, tracks the offsets that are available to be processed, but have not yet be committed to the sink.
Activity
[-]Add StreamPlan and MicroBatchTask[/-][+]Add StreamPlan and MicroBatchExecutionTask[/+][-]Add StreamPlan and MicroBatchExecutionTask[/-][+]Add StreamPlan and MicroBatchExecution[/+]penghuo commentedon Oct 26, 2022
Micro-batch Execution State Management
Data Structure
Algorithms
The MicroBatchExecution guarantee that
At beginning, offsetLog and commitLog is empty.