intermediateOutbox, Inbox & CDC
Why is CDC (via Debezium) preferred over a hand-written polling relay?
CDC reads the database's own commit log directly, so it only ever sees truly committed changes and can resume precisely after a crash — a polling relay's separate "publish" and "mark published" steps have their own smaller dual-write gap.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response