Created
November 16, 2018 15:46
-
-
Save hpgrahsl/defad29f276d9253542e9a955240d9e5 to your computer and use it in GitHub Desktop.
MySQL Source Connector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST \ | |
http://localhost:8083/connectors \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"name": "inventory-connector", | |
"config": { | |
"connector.class": "io.debezium.connector.mysql.MySqlConnector", | |
"tasks.max": "1", | |
"database.hostname": "mysql", | |
"database.port": "3306", | |
"database.user": "debezium", | |
"database.password": "dbz", | |
"database.server.id": "184054", | |
"database.server.name": "dbserver1", | |
"database.whitelist": "inventory", | |
"database.history.kafka.bootstrap.servers": "kafka:9092", | |
"database.history.kafka.topic": "schema-changes.inventory" | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment