feat(cdc): live Debezium CDC consumer + /api/changes for the Changes dashboard

Add api/cdc_consumer.py: aiokafka background consumer subscribes to the CDC
topics (postgres_sales/mysql_hr/mongodb_supplychain + cassandra/neo4j), parses
Debezium before/after envelopes, keeps a ring buffer and publishes each change
live as type=cdc_change. Endpoints /api/changes, /api/changes/stats, /status.
This commit is contained in:
mo
2026-06-27 01:31:18 +02:00
parent 5147538b05
commit 1a454f76cf
4 changed files with 252 additions and 1 deletions
+1
View File
@@ -15,3 +15,4 @@ neo4j==5.26.0
python-pptx==1.0.2
boto3==1.35.99
paramiko==3.5.0
aiokafka==0.12.0