Module progress

Source
Expand description

A “non-critical” operator that tracks the progress of a SqlServerSource.

The operator does the following:

  • At some cadence OFFSET_KNOWN_INTERVAL will probe the source for the max Lsn and emit a ProgressStatisticsUpdate to notify listeners of a new “known LSN”.
  • Listen to a provided futures::Stream of resume uppers, which represents the durably committed upper for all of the subsources/exports associated with this source. As the source makes progress this operator does two things:
    1. If CDC_CLEANUP_CHANGE_TABLE is enabled, will delete entries from the upstream change table that we’ve already ingested.
    2. Emit a ProgressStatisticsUpdate to notify listeners of a new “committed LSN”.

Statics§

PROGRESS_WORKER 🔒
Used as a partition ID to determine the worker that is responsible for handling progress.

Functions§

render 🔒