'Debezium Postgres: create Sink for multiple tables at once
Given a source such as:
curl -i -X POST -H "Accept:application/json" \
-H "Content-Type:application/json" http://connect-debezium:8083/connectors/ \
-d '{
"name": "mysql-source-demo-multiple-tables",
"config": {
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"database.hostname": "mysql",
"database.port": "3306",
"database.user": "debezium",
"database.password": "dbz",
"database.server.id": "42",
"database.server.name": "asgard",
"database.include.list": "a_schema_with_many_tables",
"database.history.kafka.bootstrap.servers": "kafka:29092",
"database.history.kafka.topic": "dbhistory.demo" ,
"include.schema.changes": "true",
"snapshot.mode": "initial"
}
}'
Is it possible to create a postgres sink that pours all tables?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
