Replies: 1 comment
-
Just to double check ... does Kafka traverse into sub-directories? So does it find the jars inside the "plc4x" folder inside the shared directory? However I think even if I wrote the initial Kafka plugin, that's like 7-8 years ago and as Confluent kept on wanting us to keep it updated for free, I sort of dropped it from my schedule some time ago. I am 100% certain that this part of PLC4X could use quite a bit of updating. Are you interested in doing that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I’m integrating PLC4X with Kafka Connect (version 0.12.0, I've tried 0.8.0 and 0.10.0 too) inside a Docker container to collect data from an S7 PLC. I’m running into persistent issues with plugin dependencies and classpath resolution, and would appreciate guidance from the community.
Environment
/usr/share/java/plc4x/
What I’ve Done
plc4j-apache-kafka-0.12.0.jar
,plc4j-api-0.12.0.jar
,plc4j-spi-0.12.0.jar
,plc4j-driver-s7-0.12.0.jar
, and other dependencies) in/usr/share/java/plc4x/
.plugin.path
to include/usr/share/java/
.org.apache.plc4x.kafka.Plc4xSourceConnector
appears in the/connector-plugins/
REST API output.Problem
When I POST the connector config, I get a 500 error and the logs show:
I also tried running
jdeps -summary plc4j-apache-kafka-0.12.0.jar
in the container and saw:What I’ve Checked
/usr/share/java/plc4x/
(listing below).Questions
PlcDriverManager
even whenplc4j-api-0.12.0.jar
is present?Directory Listing
Here’s what’s in
/usr/share/java/plc4x/
:Connector Config (Snippet)
The docker compose file is:
I prepared some series of bat files that help me set up the connectors:
Installing the PLC4X plugin:
Registering the plugin:
Updating the plugin:
Any help or troubleshooting suggestions would be greatly appreciated!
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions