4 ms·
Show HN: Code First CDC from Postgres to ClickHouse with MooseStack
- Bluegoop 1y agoSuper cool everything is better in code! :-)
- okane 1y agoWe wrote a guide + demo showing a code‑first path from Postgres to ClickHouse using Debezium and Redpanda, with MooseStack as the dx/glue layer. This post targets teams who want code ownership: typed streams, stateless streaming transforms, and OLAP tables defined in code, with a local dev server to spin up ClickHouse + Redpanda + Debezium + Postgres in one command. Blog is linked in the repo. Right now the demo solely focuses on the local dev experience, looking for community input regarding best practices for running Debezium in production.
- oatsandsugar 1y agoI think my favorite part was the ability to use the same Drizzle TS data models created for Postgres for creating tables in ClickHouse
- tacone 1y agoVery nice. Is this only possible with postgres or might be possible with sqlite or some sqlite variant?
- oatsandsugar 1y agoCo-author here, we used Debezium here because it supports many different databases. Unfortunately, no sqlite support—my understanding is as an embedded db it lacks some of the prerequisites that Debezium relies on. Have you run CDC from sqlite? would love to hear how you did it and to try build a demo with MooseStack
- tacone 1y agoHello, thank you for your answer. No I never ran CDC from sqlite, I am actually just investing sqlite, thus my question.