Last active
September 3, 2021 17:27
-
-
Save isopropylcyanide/2617b8370294362956ed86b63c582e7a to your computer and use it in GitHub Desktop.
connector-update-fixing-rolled-over-binlogs.sh
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 PUT '{host}/connectors/{connector-name}/config' \ | |
-H 'Content-Type: application/json' \ | |
--data-raw '{ | |
"name": "{connector-name}", | |
.... | |
"snapshot.mode": "initial", | |
"table.whitelist": "T1,T2,T3", | |
"snapshot.select.statement.overrides": "T1", | |
"snapshot.select.statement.overrides.myDatabase.T1": "select * from T1 where created_at >= \"2021-02-01\"", | |
..... | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment