~/talk

Change Data Streaming For Spring Boot With Apache Kafka and Debezium

Talkat Spring I/O 2022 · 2022-05-26..05-27· [databases]
slides:none on file

Shows how Debezium + Kafka + Spring Boot solve dual-write inconsistency by capturing DB changes and streaming them reliably. Uses Postgres + Spring Data JPA, an outbox table written in the same transaction as the business row, Debezium reads the DB transaction log (WAL) and publishes JSON to Kafka topics, and a Spring Boot shipment consumer reads and processes those topics. Demo runs in Docker Compose (Kafka via Strimzi operator on Kubernetes is recommended), supports snapshotting and SMT routing, and the example proves end-to-end delivery—shipment service logs show the consumed events.

AI-written summary · about

  1. 0:00Start
  2. 1:09Hello Microservices - My Old Friend
  3. 5:31Change Data Capture
  4. 7:28And Debezium is?
  5. 10:23Debezium Connectors
  6. 11:10Data Change Events
  7. 13:12Outbox Pattern
  8. 17:09Strangler Fig Pattern
  9. 25:48Example of Deployment
  10. 27:57Outbox table
  11. 30:30Starting Debezium
  12. 32:17Configuring Debezium
  13. 51:40The Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.