Compilation and Deployment with docker compose

To compile the connector and generate the .jar file needed for Kafka Connect, navigate to the root of the module (Aggregation or AggregationMain) and run:

sbt assembly

After compilation, locate the aggregation-connector_{version}.jar file (or aggregation-main-connector_{version}.jar for AggregationMain) in the artifacts directory.

Copy this file and paste it into the docker-compose/connect-plugins/ directory in Docker Compose (create this directory if it doesn’t already exist).

Once the infrastructure is launched, the connector will be available for use.