Hi all,

while working on the Kafka Connect plugin, I encountered a problem I remember 
others had been having before.
When using the assembly plugin to build “jar-with-dependencies” and trying to 
include multiple drivers, only one could be loaded, because the services files 
overwrite each other.

I solved this problem by using a custom “jar-with-dependencies” which contains 
an additional rule to merge the services files.

https://github.com/apache/plc4x/tree/featule/kafka-connect-refactoring/plc4j/integrations/apache-kafka

With this I’m getting a Fat-Jar where the driver-manager is able to load all 
drivers.

Just thought I’d report.

Chris


Reply via email to