r/dataengineering • u/Particular-Idea-1786 • 29d ago
Discussion How are you monitoring Debezium/CDC?
How is everyone monitoring debezium and CDC? What are common operational issues you run into? Are you using a saas to monitor? What do you alert on? How do you determine health of downstream jobs, built on CDC?
4
Upvotes
3
u/magixmikexxs Data Hoarder 28d ago
Kafka connect or else a custom config withan api. And then poll that
2
u/Ok-Technology-6595 28d ago
Debezium on Kafka connect load JMX logs to Prometheus. Display on grafana
2
u/wombweed 28d ago
Prometheus/Grafana if you want to self host it. If you want SaaS Datadog is a good solution.
1
u/Altruistic_Tell_2384 27d ago
Usually some issues on the source to monitor also (like Wal size if a postgres source)
1
u/ninjaonionss 26d ago
I think you could answer this by knowing what enters your database, lets say you use Kafka , if you log every message from Kafka to the database you also have a way to reliably tell if the cdc stream from debezium is complete
1
u/backpressured_dev 21d ago
same setup(JMX -> Prometheus -> Grafana) here. one thing that got us though, connector state alone isn't enough. we had the connector sitting at RUNNING while one of the tasks had already failed, and nobody noticed until data stopped showing up downstream. so now we check task state separately too