gustavoschewinski commented on issue #125:
URL: https://github.com/apache/plc4x-extras/issues/125#issuecomment-2309529165

   Hello @chrisdutz,
   
   I've built the folder 
(https://github.com/apache/plc4x-extras/tree/develop/plc4j/integrations/apache-kafka)
 using Maven (`mvn clean install`), and in the target directory, I got two 
files: `original-plc4j-apache-kafka-0.13.0-SNAPSHOT.jar` and 
`plc4j-apache-kafka-0.13.0-SNAPSHOT.jar`.
   
   When I try to use only `plc4j-apache-kafka-0.13.0-SNAPSHOT.jar`, the 
connector doesn't appear in Kafka.
   
   When I try to use only `original-plc4j-apache-kafka-0.13.0-SNAPSHOT.jar`, I 
get the following error: "java.lang.NoClassDefFoundError: 
org/apache/plc4x/java/DefaultPlcDriverManager."
   
   And if I use both (`original-plc4j-apache-kafka-0.13.0-SNAPSHOT.jar` and 
`plc4j-apache-kafka-0.13.0-SNAPSHOT.jar`), I get this error: 
"org.apache.kafka.common.config.ConfigException: Connection String format is 
incorrect: 
sources.machineA.connectionString=opcua:tcp://Yoshi.lab.mtu-digilab.io:53530/OPCUA/SimulationServer?discovery=false".
   
   Do you know what might be causing these issues? According to the repo, I 
should only need the `plc4j-apache-kafka-0.13.0-SNAPSHOT.jar`, but Kafka 
doesn't recognize it. I suspect the problem could be related to how I built 
this. 
   
   Is it possible to have the plugin in a folder like the ones found here: 
https://repo1.maven.org/maven2/org/apache/plc4x/plc4j-apache-kafka/0.12.0/?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to