ClickHouse
Stream change data capture data into ClickHouse with Streamkap
Prerequsites
- ClickHouse User
- Accessible endpoint
ClickHouse Setup
CREATE ROLE STREAMKAP_ROLE;
GRANT SELECT, CREATE, SHOW, INSERT ON <db name>.* TO STREAMKAP_ROLE;
CREATE USER streamkap_user IDENTIFIED WITH sha256_password BY 'set_a_new_password'
GRANT STREAMKAP_ROLE TO streamkap_user;
Using Final modifier
Using Final is not recommended by ClickHouse but we've seen situations where it is required.
If you would like FINAL to always be applied when querying, adjust the role
ALTER ROLE STREAMKAP_ROLE SETTINGS final = 1;
Streamkap Setup
-
Go to Destinations and choose ClickHouse
-
Input the following information:
-
Name - A unique and memorable name for this Connector
-
Hostname (IP or URL)
-
Database - The name of the database
-
Port - 8443 default
-
Username (Case sensitive) - STREAMKAP_USER OR the username you chose
-
Password - password
-
Select/Unselect SSL option (Default on)
Click Save
Updated about 2 months ago