Data lineage map shows source, publisher, broker, consumer, and read model boundaries with timestamp checkpoints and freshness telemetry
Compare stage timestamps. A growing gap between two stages points to the delayed boundary.

Measure freshness first

Choose one record that is visibly out of date and capture its source update time, business key, and last known version. Compare that with the time the integration observed, published, processed, and served the update. Use a consistent clock source and record timestamps at each boundary.

Agree on the freshness target for this data. “Current” may mean seconds for stock availability but a day for a reporting extract. A measurable target helps distinguish a real incident from expected batch delay.

Trace the update path

  1. Source: Confirm the source record changed and identify how that change is detected: polling cursor, transaction log, webhook, or application event.
  2. Producer: Check the last successful publish time, failed publish attempts, and whether a filter or mapping excluded the record.
  3. Queue or stream: Inspect oldest-message age, backlog, partition or consumer lag, and dead-letter counts.
  4. Consumer: Check processing errors, checkpoints, retries, and whether a poison message blocks later work.
  5. API or cache: Compare the stored value with the response. Check cache age, invalidation, and whether a read model is being served instead of the source.

Carry timestamps in the event envelope so the lag can be measured:

{
        "eventId": "evt-1042",
        "entityId": "order-1042",
        "occurredAt": "2026-10-15T10:00:00Z",
        "publishedAt": "2026-10-15T10:00:01Z",
        "processedAt": "2026-10-15T10:00:08Z"
      }

Follow the record by a stable business key or event ID, not by a sensitive payload copied into logs. If the path has no timestamps or correlation identifiers, add observability at those boundaries before guessing at the cause.

Recover without hiding missed changes

Fix the failing boundary first, then use the documented replay or reconciliation process. A replay should be idempotent so processing a change again does not create duplicate side effects. For a batch sync, compare source and destination counts or checksums over a bounded window before advancing the cursor.

For event-driven flows, check whether a dead-lettered update needs correction before replay. The retry and duplicate-event guide covers bounded retries, idempotency, and controlled replay.

Prevent the next freshness gap

  • Publish a freshness objective and alert on age, not only on process uptime.
  • Track last successful sync, consumer lag, and oldest pending work.
  • Alert on dead letters and repeated mapping or validation failures.
  • Document the source of truth, replay owner, and reconciliation procedure.

If updates are continuously copied from a database, review the CDC pattern and its ordering and schema-change tradeoffs. If users need an immediate answer, a bounded request-response API may fit better than a delayed sync.