-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoClassDefFoundError: io/opentracing/util/GlobalTracer in v.1.2.0 #1
Comments
It looks like you are missing the tracing libraries. You will need to add the Jaeger Client and OpenTracing dependencies: https://github.com/scholzj/echo-sink/blob/main/pom.xml#L31-L40 I can try to have a look later if I can produce some fat-jar as an alternative. But adding these dependencies (and their dependencies) manually should get you started. |
Hi, Thank you for your advice. It worked by adding the following jars to
For those who are interested, I downloaded required jars with: and after I put in I think you should provide a single uber jar with all required jars in it. Actually, this is the way that confluent recommends to ship a connector
Source: https://docs.confluent.io/home/connect/userguide.html Thank you. |
Well, it is used mainly with Strimzi, which already packages the dependencies. And it is always better to avoid mixing dependencies since that might cause different versions to conflict etc. I might add fat-jar when I have time for it. But not sure when exactly will i get to it. |
Hi!
I'm using your sink, v1.2.0 in a custom Kafka Connect Docker Image, but when I try to start a connector, I receive the following message:
The dockerfile that I'm using is:
and in
connect-distributed.properties
I have a line with:plugin.path=/opt/bitnami/kafka/plugins
The configuration of connector is:
Other connectors (i.e FileStreamSinkConnector) are working fine.
The error is correct, in echo-sink 1.2.0 jar there is no opentracing jar. Actually there are no extra jars inside provided jar.
How can I skip this error?
Thank you
The text was updated successfully, but these errors were encountered: