### Start the Spring Boot app with the embedded engine (slot embedded_orders, topic prefix embedded) snapshot rows delivered by the engine: 9 slot_name | plugin | active -----------------+----------+-------- embedded_orders | pgoutput | t (1 row) ### Insert, update and delete order 30, and the app's own view of them (EMBEDDED = engine callback, LISTENER = @KafkaListener on embedded.public.orders) EMBEDDED op=c key={"id":30} lsn=99363544 before=null after={"id":30,"customer":"tara","status":"NEW","amount_cents":300,"note":null} LISTENER partition=0 offset=5 op=c key={"id":30} lsn=99363544 before=null after={"id":30,"customer":"tara","status":"NEW","amount_cents":300,"note":null} EMBEDDED op=u key={"id":30} lsn=99363736 before={"id":30,"customer":"tara","status":"NEW","amount_cents":300,"note":null} after={"id":30,"customer":"tara","status":"PAID","amount_cents":300,"note":null} LISTENER partition=0 offset=6 op=u key={"id":30} lsn=99363736 before={"id":30,"customer":"tara","status":"NEW","amount_cents":300,"note":null} after={"id":30,"customer":"tara","status":"PAID","amount_cents":300,"note":null} EMBEDDED op=d key={"id":30} lsn=99363904 before={"id":30,"customer":"tara","status":"PAID","amount_cents":300,"note":null} after=null EMBEDDED key={"id":30} TOMBSTONE (null value) LISTENER partition=0 offset=7 op=d key={"id":30} lsn=99363904 before={"id":30,"customer":"tara","status":"PAID","amount_cents":300,"note":null} after=null LISTENER partition=0 offset=8 key={"id":30} TOMBSTONE (ignored) ### Same UPDATE, seen by Kafka Connect (topic shop.public.orders) and by the embedded engine (topic embedded.public.orders): what differs? 5c5 < "name": "shop", --- > "name": "embedded", ### At-least-once: offsets are flushed every 60 s (Debezium's default). Wait 65 s, then three updates, then kill -9 the JVM killed. Events the first run delivered for key id=1 after the wait: lsn=99384632 status set to A0 lsn=99385008 status set to A1 lsn=99385192 status set to A2 ### Restart the app (same offset file, same slot) EMBEDDED events in the second run (anything here is a redelivery): lsn=99385008 status set to A1 lsn=99385192 status set to A2 ### What a downstream consumer sees on embedded.public.orders: records per (key, lsn) for the three A updates 1 status=A0 lsn=99384632 2 status=A1 lsn=99385008 2 status=A2 lsn=99385192