Too Long; Didn't Read
Change data capture (CDC) is an approach to data integration to detect, capture, and deliver the changes made to database data sources. Postgres offers two built-in ways to make CDC possible: From Transaction logs, from Write Ahead Logs and from Database Triggers. Log-based CDC is generally considered the superior approach to change data capture applicable to all possible scenarios, including systems with extremely high transaction volumes. Using Postgres Logical Decoding or Postgres logical replication feature is the only way to stream data changes as they happen.