Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -X POST http://localhost:8083/connectors -H "Content-Type: application/json" -d '{
- "name": "jdbc_source_postgres_03",
- "config": {
- "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
- "connection.url": "jdbc:postgresql://localhost:5432/test_db",
- "connection.user": "postgres",
- "connection.password": "thecartel",
- "topic.prefix": "postgres-03-",
- "mode":"bulk"
- }
- }'
- curl -X POST http://localhost:8083/connectors -H "Content-Type: application/json" -d '{
- "name": "jdbc_source_mysql_01",
- "config": {
- "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
- "connection.url": "jdbc:postgresql://localhost:5432/test_db",
- "connection.user": "postgres",
- "connection.password": "thecartel",
- "topic.prefix": "mysql-01-",
- "mode":"bulk",
- "table.whitelist" : "device_channel_feeds"
- }
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement