Skip to content

Instantly share code, notes, and snippets.

@dunithd
Created August 10, 2021 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dunithd/d65834685e071f26f2bda614b0576f33 to your computer and use it in GitHub Desktop.
Save dunithd/d65834685e071f26f2bda614b0576f33 to your computer and use it in GitHub Desktop.
curl -H 'Content-Type: application/json' debezium:8083/connectors --data '
{
"name": "shipments-connector",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"plugin.name": "pgoutput",
"database.hostname": "postgres",
"database.port": "5432",
"database.user": "postgresuser",
"database.password": "postgrespw",
"database.dbname" : "shipment_db",
"database.server.name": "postgres",
"table.include.list": "public.shipments"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment