Expand description
A “non-critical” operator that tracks the progress of a SqlServerSourceConnection.
The operator does the following:
- At some cadence
timestamp_intervalwill probe the source for the maxLsn, emit the upstream known offset, and updateSourceStatistics. - Listen to a provided
futures::Streamof resume uppers, which represents the durably committed uppers of the subsources/exports associated with this source. As the source makes progress this operator does two things:- If
CDC_CLEANUP_CHANGE_TABLEis enabled, will delete entries from each capture instance’s change table that all of its exports have ingested. - Update each export’s
SourceStatisticsto notify listeners of its new “committed LSN”.
- If
Statics§
- PROGRESS_
WORKER 🔒 - Used as a partition ID to determine the worker that is responsible for handling progress.
Functions§
- committed_
lsn 🔒 - The
Lsnthat every export inexportshas durably committed through. - render 🔒