Skip to content

Instantly share code, notes, and snippets.

@ilyasahsan123
Created January 28, 2019 15:08
Show Gist options
  • Save ilyasahsan123/ba2085a8dd534600f402a7d6a1b15d78 to your computer and use it in GitHub Desktop.
Save ilyasahsan123/ba2085a8dd534600f402a7d6a1b15d78 to your computer and use it in GitHub Desktop.
curl -XPOST "http://localhost:8083/connectors" -H 'Content-Type: application/json' -d'
{
"name": "debezium",
"config": {
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"database.hostname": "localhost",
"database.port": "3306",
"database.user": "root",
"database.password": "",
"database.server.id": "184054",
"database.server.name": "debezium",
"database.whitelist": "school",
"table.whitelist": "school.users",
"database.history.kafka.bootstrap.servers": "localhost:9092",
"database.history.kafka.topic": "debezium-hist",
"database.serverTimezone": "UTC",
"include.schema.changes": "true"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment