Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update incremental_snapshot.md #706

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion doc/incremental_snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ https://debezium.io/blog/2021/10/07/incremental-snapshots/

**Step 1**: Create the `signaling` table in Source using the following schema
```
CREATE TABLE dbz_signal (id VARCHAR(<varcharValue>) PRIMARY KEY,
CREATE TABLE dbz_signal (id VARCHAR(255) PRIMARY KEY,
type VARCHAR(32) NOT NULL,
data VARCHAR(2048) NULL);
```
Expand All @@ -23,3 +23,8 @@ INSERT INTO dbname.dbz_signal VALUES ('d139b9b7–7777–4547–917d-e1775ea61d6
```

This step should trigger the snapshot process in parallel to the regular streaming.

On the sink connector logs, you should notice a new log message that indicates start of `INCREMENTAL` snapshot
```
2024-07-23 13:24:44.040 INFO - Requested 'INCREMENTAL' snapshot of data collections '[public.tm2]' with additional conditions '[]' and surrogate key 'PK of table will be used'
```
Loading