Setting up JDBC Extractor on Docker
Follow this procedure if you want to configure your JDBC Extractor using Docker.
Load the extractor package image into Docker:
docker load --input <connector_package_name>.tar.gz
From the command line, run:
docker run \ -e UPLINK_ENABLED=true \ -e UPLINK_URL=https://{team}.{cluster}.celonis.cloud/uplink/api/public/uplink \ # insert the team url, it should point to the team that the data should be send to. -e UPLINK_CLIENTID=<clientID>\ # insert the client ID of the uplink endpoint that you have already set-up -e UPLINK_CLIENTSECRET=<clientsecret>\ # insert the client secret of the uplink endpoint that you have already set-up -p <port>:<port>\ # insert the port -v <connector_package_name> # provide the package name
Separate driver
You specify the driver in the following way when running the Extractor:
Supply the driver
-v <path_to_driver_locally>:/usr/share/jdbc_drivers/<file_name_of_driver_in_the_container> <connector_package_name> # insert the local and container path to the driver
Example:
-v ./the-driver-of-your-database.1.0.0.jar:/usr/share/jdbc_drivers/the-driver-of-your-database.1.0.0.jar