-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clickhouse peer: specify S3 fields (#1205)
This PR refactors the Clickhouse peer to now have the S3 fields - object path, access key id, secret key and region: ``` message ClickhouseConfig{ string host = 1; uint32 port = 2; string user = 3; string password = 4; string database = 5; string s3_path = 6; // path to S3 bucket which will store avro files string access_key_id = 7; string secret_access_key = 8; string region = 9; } ``` The UI for Clickhouse peer creation has been updated accordingly: <img width="956" alt="Screenshot 2024-02-05 at 5 36 55 PM" src="https://github.com/PeerDB-io/peerdb/assets/65964360/b47a8fcc-3575-4f09-8a0d-74eb9b9a986f"> Validation for the S3 stage is also added as part of validate peer for clickhouse. Nexus code updated accordingly. This PR has been functionally tested by validating and creating a clickhouse peer followed by performing a basic CDC PG -> CH mirror
- Loading branch information
1 parent
169112a
commit a2c1f69
Showing
12 changed files
with
287 additions
and
222 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
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.