Hi all,
We're currently using Debezium + CDC to replicate data from one Postgres DB to a second DB to create materialized views. Not a fan of the materialized view pattern but that's another topic...
The source DB stores most data as unstructured JSOB and our transformation layer (sink handler) became way too complex leading to bugs. We're considering switching to an Outbox Pattern to reduce transformation complexity and publish structured data based on AVRO schemas.
My question is, how can SNAPSHOT functionality be implemented when using the Outbox pattern? My guess is you can't. We currently rely on snapshotting to address operational issues and data corruption due to code bugs.
Is there an alternative or practices that provide similar capabilities?