Class: ActiveRecord::Materialized::SourceWatermarkRecord Private

Inherits:
Base
  • Object
show all
Includes:
ConfigurableTableName
Defined in:
lib/activerecord/materialized/source_watermark_record.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

ActiveRecord model backing the CDC source-watermark table — the max applied source_ts per (view, partition). Used to suppress stale/out-of-order CDC events and to report a view's freshness. Uses ConfigurableTableName's dynamic resolution so a host app can rename the table.