Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 956 Bytes

development.md

File metadata and controls

36 lines (28 loc) · 956 Bytes

Build Sink Connector from sources.

Requirements

Install JDK(For Mac)

brew install openjdk@17
export JAVA_HOME=/opt/homebrew/Cellar/openjdk@17/17.0.11/libexec/openjdk.jdk/Contents/Home/
mvn -v
# verify it's actual openjdk 17 used and continue with steps
  1. Clone the ClickHouse Sink connector repository:
git clone [email protected]:Altinity/clickhouse-sink-connector.git
  1. Build the ClickHouse Sink connector Library: This builds the requirement for sink connector lightweight<sink-connector-library-version>0.0.8</sink-connector-library-version>
cd sink-connector
mvn install -DskipTests=true
  1. Build the ClickHouse Lightweight connector:
cd ../sink-connector-lightweight
mvn install -DskipTests=true

The JAR file will be created in the target directory.