Does anyone have a drop in prod-ready solution to move all tables from MySQL to Postgres?
Debezium looks like a great tool, but I'm facing a fairly steep learning curve to get it in prod mode. Many tutorial seem skipping over important features needed to be production ready and even if I can hack something up, it'd be great avoiding blind spots when operating in prod.
e.g. https://medium.com/swlh/sync-mysql-to-postgresql-using-debezium-and-kafkaconnect-d6612489fd64
- This handles only one table, what is the easiest way to do multiple tables?
- It uses old debezium syntax (property and not JSON), use of keys such as
table.whitelist
insteadtable.include.list
- doesn't use properties such as
database.history.kafka.recovery.attempts
ortasks.max,
include.schema.changes` --> still requires a decent amount of work and to cover blind spots that I'm not even aware of - does it need any kind of transform?
For the Sink I was trying to create a config that:
- creates the tables
- evolve the schema change (is it even possible for MySQL to Postgres?)
- uses PKs for kafka partitioning easily
- can run in recovery mode (so if it crashes, go back and replay in a idempotent fashion)