CDC reads inserts, updates, and deletes from a change log or similar source instead of repeatedly polling tables. It can feed a search index, analytics store, or cache.
The demo sends an updated row through the log and event stream into a search index. Consumers should handle duplicate delivery and possible ordering issues.
When to use
Use it when another store needs a near-real-time copy of source database changes.