Show HN: Code First CDC from Postgres to ClickHouse with MooseStack(github.com)
github.com
Show HN: Code First CDC from Postgres to ClickHouse with MooseStack
https://github.com/514-labs/debezium-cdc
6 comments
I think my favorite part was the ability to use the same Drizzle TS data models created for Postgres for creating tables in ClickHouse
Super cool everything is better in code! :-)
Very nice. Is this only possible with postgres or might be possible with sqlite or some sqlite variant?
Co-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
Have you run CDC from sqlite? would love to hear how you did it and to try build a demo with MooseStack
Hello, thank you for your answer. No I never ran CDC from sqlite, I am actually just investing sqlite, thus my question.
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.