~/talk

Change Data Capture for non relational databases

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [databases, data-engineering]
slides:none on file

Debezium connects MongoDB replica sets or sharded clusters to Kafka (or Kinesis, Pub/Sub, HTTP) by taking a snapshot then streaming change streams using a resume token stored as offsets; resume is limited by the oplog retention so outages longer than that force a full snapshot. For sharded clusters Debezium can open per-shard streams for higher throughput (per-document ordering only) or a mongos stream to order across shards with added latency. Outbox pattern: write an order and an outbox collection row in one DB transaction and Debezium routes that event to Kafka; delivery is at-least-once (Kafka can provide exactly-once semantics).

AI-written summary · about

  1. 0:00Introduction
  2. 0:10Agenda
  3. 2:05Alternatives
  4. 3:00Use Cases
  5. 3:40What is the Division
  6. 4:00Division Connectors
  7. 5:25Kafka connectors
  8. 7:45MongoDB
  9. 10:50Operations Law
  10. 12:20Deployment for MongoDB
  11. 12:55sharded clusters
  12. 13:15horizontal scale
  13. 14:05chain streams
  14. 17:35replica sector collection
  15. 19:40practical problems
  16. 19:50simple order service
  17. 20:10dual rights
  18. 21:00outbox pattern
  19. 21:20work worker process
  20. 21:55order services
  21. 22:10process
  22. 23:50dbzoom
  23. 25:10Cluster setup
  24. 25:40Configuration
  25. 27:35mongo shell connection
  26. 27:55mongo shell simulation
  27. 28:30Kafka
  28. 30:10Summary
  29. 30:40Questions
~/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.