Skip to content

Instantly share code, notes, and snippets.

@ponyjackal
Created February 6, 2024 00:30
Show Gist options
  • Save ponyjackal/8842472921551659ed5cd6217934fc5d to your computer and use it in GitHub Desktop.
Save ponyjackal/8842472921551659ed5cd6217934fc5d to your computer and use it in GitHub Desktop.
Debezium postgres connector config
{
"name": "user",
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"database.hostname": "${MASTER_DB_HOST}",
"database.port": "${MASTER_DB_PORT}",
"database.user": "${MASTER_DB_USER}",
"database.password": "${MASTER_DB_PASSWORD}",
"database.server.name": "user",
"database.dbname": "${MASTER_DB_NAME}",
"tasks.max": "1",
"plugin.name": "pgoutput",
"topic.prefix": "user",
"table.include.list": "public.user",
"transforms": "unwrap",
"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
"transforms.unwrap.add.fields": "op",
"transforms.unwrap.delete.handling.mode": "none",
"transforms.unwrap.drop.tombstones": "false",
"transforms.unwrap.operation.header": "true"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment