~/talk

Using MongoDB with Kafka - Use Cases and Best Practices

Talkat Percona Live Online 2020 · 2020-10-20..10-21· [databases]
links:none on file
slides:none on file

Covers concrete patterns: MongoDB as Sink (consume Kafka topics into collections) and as Source (change streams → Kafka), uses spring kafka in TransferWise’s activity service and a custom connector that works in production, compares Debezium-style and MongoDB Kafka Connector features (snapshot mode, parallel tasks, dead‑letter queues), recommends schema registry/Avro for compact serialisation, shows throttling via Kafka consumer/producer rate limits tied to Prometheus alerts and replaying Kafka as a journal for partial recovery.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Agenda
  3. 2:06What is MongoDB?
  4. 2:47What is Apache Kafka?
  5. 3:59Use cases - Topologies
  6. 4:51Selective Replication/EL/L MongoDB doesn't support selective Replication Oplog or Change Streams (prefered method)
  7. 6:56Debezium
  8. 8:38MongoDB Kafka Source Connector
  9. 10:24Throttling
  10. 15:00Workload isolation
  11. 16:49Continuous aggregations Useful for use-cases that raw data are useless for not very useful Kafka streams is your friend - Windowing
  12. 17:48Journal
  13. 19:43TransferWise: Activity Service
  14. 21:33spring-kafka
  15. 24:35MongoDB Kafka Sink connector: Configuration
  16. 28:10Recap/Takeaways There are tons of use-cases for MongoDB & Kafka
  17. 28:58Thank you!!!
~/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.