Pick Up New Changes Without Losing Late Readings

Repeated full imports become expensive, but a naive timestamp filter misses corrections and deletions. Track source change position, merge versions and commit the checkpoint with the result.

16 sections · 4 questions · 1 coding challenge

1 / 16

Remembering a Change Position Instead of Recopying Everything

BOTIE

Databases maintain change information to recover and coordinate writes. Change-data-capture systems can expose committed changes to downstream consumers instead of forcing every consumer to recopy the full source. PostgreSQL logical decoding is one documented implementation with its own restart, retention and delivery responsibilities.

A consumer still needs a recoverable position and a replay policy. Our source supplies a strictly increasing ingestion sequence and per-record versions. These are explicit teaching contracts; an arbitrary timestamp column does not automatically provide the same guarantees.

Sources for this history