Skip to content

Commit

Permalink
Merge pull request #372 from Altinity/subkanthi-patch-1
Browse files Browse the repository at this point in the history
Update instructions to connect to cloud url.
  • Loading branch information
subkanthi authored Nov 10, 2023
2 parents c3133cf + 305a5ec commit f4bc992
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@ Also Update **ClickHouse information** for the following fields that are used to
4. Add table filters: `table.include.list`.
5. Set `snapshot.mode` to `initial` if you like to replicate existing records, set `snapshot.mode` to `schema_only` to replicate schema and only the records that are modified after the connector is started.
6. Start replication by running the JAR file. `java -jar clickhouse-debezium-embedded-1.0-SNAPSHOT.jar <yaml_config_file>` or docker.

### MySQL Configuration
**ClickHouse HTTPS servers**
For `https` servers, make sure the `clickhouse.server.url` includes `https`
Also add `?ssl=true` to both the `offset.storage.jdbc.url` and `schema.history.internal.jdbc.url` configuration variables.
Also add `?ssl=true` and port `8443` to both the `offset.storage.jdbc.url` and `schema.history.internal.jdbc.url` configuration variables.
Example: **ClickHouse Cloud**
```
clickhouse.server.url: "https://cloud_url"
offset.storage.jdbc.url: "jdbc:clickhouse://cloud_url:8443/altinity_sink_connector?ssl=true"
schema.history.internal.jdbc.url: "jdbc:clickhouse://cloud_url:8443/altinity_sink_connector?ssl=true"
```

### MySQL Configuration
[MySQL Configuration](sink-connector-lightweight/docker/config.yml)

### PostgreSQL Configuration
Expand Down

0 comments on commit f4bc992

Please sign in to comment.