Important
Upstream debezium now have offical JDBC consumer, see debezium-connector-jdbc. its recommended to use upstream solution for jdbc sinks
This project adds JDBC database consumer to Debezium Server. It could be used to replicate database CDC changes to JDBC database table in realtime, without requiring Spark, Kafka or Streaming platform.
More detail available in documentation page Also, check caveats for better understanding the current limitation and proper workaround
- Requirements:
- JDK 11
- Maven
- Clone from repo:
git clone https://github.com/memiiso/debezium-server-jdbc.git
- From the root of the project:
- Build and package debezium server:
mvn -Passembly -Dmaven.test.skip package
- After building, unzip your server
distribution:
unzip debezium-server-jdbc-dist/target/debezium-server-jdbc-dist*.zip -d appdist
- cd into unzipped folder:
cd appdist
- Create
application.properties
file and config it:nano conf/application.properties
, you can check the example configuration in application.properties.example - Run the server using provided script:
bash run.sh
- Build and package debezium server:
The Memiiso community welcomes anyone that wants to help out in any way, whether that includes reporting problems, helping with documentation, or contributing code changes to fix bugs, add tests, or implement new features. See contributing document for details.