-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: add JAXRS API as SR opentracing depends on it but didn't declare it #14323
fix: add JAXRS API as SR opentracing depends on it but didn't declare it #14323
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
This looks good to me, but I'd love to get another pair of eyes. @radcortez or @kenfinnigan, could you suggest one more reviewer for this? Thanks! |
@loicmathieu can you provide some details about why you were getting a CNFE on I'm wondering if it's simply a matter of using text class name instead of actual class or something like that? |
This dependency is directly used by opentracing-jaxrs (that is a dependency of smallrye-opentracing) and I have a CNFE when using the I cannot extract the stacktrace as the exception was swallowed by the SR reactive messaging processor but if you look at the OpenTracingInterceptor class you can see that at line 35 is call a method skipJaxRs that uses the Maybe we can open an issue upsteam about this, but currently JAX-RS is needed in the classpath to use |
Thanks for the additional information. Agree it's worth raising an issue in the upstream project to resolve in a way that doesn't require JAX-RS on the classpath, as it's an issue there. But I appreciate right now it's currently broken for Quarkus with this use case. Could you raise an issue upstream and add a comment to the dependency with the issue? We can then track the dependency removal when it's fixed |
I openned opentracing-contrib/java-interceptors#15, I'll update the PR to add a reference to this issue inside the pom.xml |
e6972b1
to
5c9ebb1
Compare
Thanks @loicmathieu! |
Alternatively/additionally, we could/should fix this in SmallRye. Not sure how big of a deal that is, considering other SmallRye OpenTracing consumers. |
@Ladicek from the brief look I had SmallRye OpenTracing has a dependency on the contrib project to get the ability to process Not sure why, but |
I was thinking the same. Also, due to OpenTracing status, most likely these upstream projects are not getting much attention. |
More info on this Zulip discussion: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/opentracing.20without.20JAX-RS.20(without.20resteasy)