clockpipe-0.2.2 is not a library.
clockpipe
- An alternative to clickpipe for on-premise clickhouse users.
- Based on CDC, data from the original source is written to clickhouse.
Supported Source
- PostgreSQL
Install
Build from source code
Using Cargo
PostgreSQL Setup
- Synchronization is implemented through PostgreSQL Publication.
- modify
postgresql.confand restart postgresql server.
postgres=# ;
enable logical replica
wal_level=logical
max_slot_wal_keep_size=-1
max_wal_size=10240
How to Run
- Prepare config file (example)
- Enter the information about the PostgreSQL table you want to synchronize.
"tables":
- Then, Run it
-
Pipe automatically creates and synchronizes tables in Clickhouse by querying table information.
-
If you don't want the initial synchronization, use the skip_copy option. (CDC-based synchronization still works.)
"tables":