-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new combined iterator integrates snapshots with the existing cdc iterator. Once the snapshot is completed, it will swithc to cdc. When using snapshots, the connector will run both cdc and snapshot at the same time. This is required because the cdc iterator needs to be initialized and export a consistent snapshot which is taken at the time of the slot creation. The cdc iteator will need to keep the connection open until the snapshot is done. The switch to the cdc iterator is triggered when the snapshot returns an end of records error. Based on this signal, the cdc subscriber will be started to consume changes from the replication slot.
- Loading branch information
Showing
26 changed files
with
1,112 additions
and
812 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.