internalsGet Pro

Module 07 · Lesson 8 of 9Pro

Application events or CDC: choosing a source

Level
Intermediate
Topic
Change data capture and replication
Reading time
16 min

When you finish this page you can

  1. Explain what a change event and an application event each record, and what each one misses.
  2. Show why publishing an event after a commit loses events, and how an outbox read by Debezium fixes it.
  3. Choose a source for each consumer of the orders data, and say what would change the choice.
  4. Write a reconciliation query that finds cancellations with no event, and events with no cancellation.

Builds on 2 lessons

Start with lesson 116 min
  1. Change data capture: reading the database’s change log16 min
  2. Landing CDC data in a warehouse or lakehouse17 min

Thirty thousand cancellations, and no reason

is an online store in India. It takes about 500,000 orders a day in the orders service’s PostgreSQL database. Meera, a data engineer, moves those orders to Snowflake, where Daniel, who leads finance reporting, reads them. Since Monday 15 November 2027 she does it with : reads every committed change from the database’s log.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan