Key Features
- CDC Streaming: utilizes Snowpipe streaming to deliver real-time changes from the source system.
- Insert Operation: writes CDC updates as inserts into the target Snowflake database, preserving the full change history.
- Materialized View: constructs a materialized view to mirror the source table, enabling easy access to replicated data.
- Time Travel Support: retains historical data for time travel queries, facilitating data analysis and auditing.
- Key-Pair Authentication: relies on Snowflake’s key-pair authentication mechanism — no passwords.
- Schema evolution: new columns are added automatically as the source schema evolves.
Prerequisites
- A Snowflake account where you wish to sync your data.
-
A role with the required permissions on the target database and schema:
USAGEon the database and schemaCREATE TABLEon the schemaINSERT,UPDATE,DELETEon target tables
-
A key pair (no passphrase) for authentication. To set it up:
- Generate the key pair:
- Register the public key on the Snowflake user:
- Copy the private key without the header and footer lines:
- Generate the key pair:
Configuration
| Field | Required | Description |
|---|---|---|
| Account | Yes | Snowflake account identifier (e.g. myorg-myaccount or account.region.cloud) |
| User | Yes | Username configured with key-pair authentication |
| Database | Yes | Database where tables will be created (e.g. ANALYTICS_DB) |
| Schema | Yes | Schema within the database (e.g. PUBLIC) |
| Role | Yes | Role to use for the session — must have write access to the target schema |
| Private Key | Yes | The private key body, without headers |
| Enable Before/After | Yes | When enabled, stores both the before and after images of each change event, allowing field-level change tracking in the target |