Install Databricks Client Connector
This page explains how to install the Databricks Client Connector.
Prerequisites
- Databricks Runtime 11.3 LTS(with Apache Spark 3.3.0)
- Scala 2.12 or later
- A Macrometa account with write permissions for streams. For more information about permissions, refer to Permissions.
Install the Macrometa Databricks Client Connector
Do not start until all prerequisites are fulfilled.
Obtain the JAR file for the connector using one of the following methods:
Using the official GitHub package (Recommended for production): Download the pre-built JAR file from the official GitHub package.
Build from source:
Clone this repository by running
git clone https://github.com/Macrometacorp/macrometa-connector-databricks.git
.Build the JAR file using Gradle. Open a terminal in the root folder of the project and execute the command:
./gradlew clean shadowJar
. The generated JAR file, named 'macrometa-connector-databricks.jar', will be located in theapp/build/libs
directory.This method provides the latest code, but it might not be officially released, so it's not recommended for production environments.
Upload the JAR file to your Databricks workspace using the Databricks CLI or the Databricks UI.
Attach the JAR file to your Databricks cluster by following the instructions in the Databricks documentation topic Install Workspace Libraries.