Skip to content

PLC4X Kafka Connect "Connection String format is incorrect" with S7 and Modbus in Docker #2163

Answered by chrisdutz
i7pacheco asked this question in Q&A
Discussion options

You must be logged in to vote

Are you basing your work on the existing, but old Kafka Connect adapter in the plc4x-extras repo, or is this a completely new approach? But I think you are using the existing one.

With fat jars there always is a problem on how they are created. While you can simply merge the driver code without problems, as all drivers are located in separate packages, there usually are issues if you create a fat jar with multiple drivers when it comes to the resource files PLC4X uses to locate drivers. Here all jars have the same file "META-INF/services/org.apache.plc4x.java.api.PlcDriver" ... I think per default either the first file with that name is used and the others are dropped. This results in PLC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@i7pacheco
Comment options

Answer selected by i7pacheco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants