Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Connectors Bundle

This module is an example of bundling a custom set of Connectors with Connector Runtime.

This bundle is built on top of our Connectors base image that includes pre-packaged runtime without any Connectors. You can find the Dockerfile for the base image in the connector-runtime-application module.

Run the bundle

docker run --rm -it $(docker build -q .)

This will run a container built from the Dockerfile in this repo.

Modify the bundle

Add your custom connectors to the bundle similarly to

⚠️ As all Connectors share a single classpath, it can happen that different versions of the same dependency are available which can lead to conflicts. To prevent this, common dependencies like jackson can be shaded and relocated inside the connector jar.

An example of such relocation withmaven-shade-plugin can be found in the Camunda 8 out-of-the-box Connectors repository.

Please refer to the base Connector Runtime image documentation for further information.

Consider bundling with Maven

Another way to bundle Connectors with Connector Runtime is using Maven. In this case all version conflicts will be resolved by Maven, so relocating the common dependencies becomes irrelevant.

The Connectors Bundle project is an example of Maven bundle. It contains all available out-of-the-box Connectors provided by Camunda 8.