-
Notifications
You must be signed in to change notification settings - Fork 231
question about using shadow dependency in jaeger-b3 #279
Comments
Some stagemonitor users also reported this issue. What is the reason that I guess the quick fix is to remove the dependency to |
jaeger-b3 comes with a transitive dependency to jaeger-core:okhttp381 see also jaegertracing/jaeger-client-java#279
I don't think there is a good reason for it. At the time of writing, I believe there was in incompatibility between the version of |
`jaeger-b3` depended on a shadow version of `jaeger-core` that packaged `okhttp` to prevent an incompatibility with `io.zipkin.brave:brave-http` The version of `brave-http` that we depend on currently doesn't have this incompatibility, so depending on the shadow is unnecessary. Fixes #279 Signed-off-by: Prithvi Raj <p.r@uber.com>
jaeger-b3 comes with a transitive dependency to jaeger-core:okhttp381 see also jaegertracing/jaeger-client-java#279
One thing to consider with this issue is that the B3 propagation is now part of the jaeger-core artifact so the jaeger-b3 is only providing backward compatibility support and tests (with their dependency on brave). See #296. |
`jaeger-b3` depended on a shadow version of `jaeger-core` that packaged `okhttp` to prevent an incompatibility with `io.zipkin.brave:brave-http` The version of `brave-http` that we depend on currently doesn't have this incompatibility, so depending on the shadow is unnecessary. Fixes #279 Signed-off-by: Prithvi Raj <p.r@uber.com>
Hi there
I have a quick question about the jaeger-b3 dependency. I saw that in this line
jaeger-client-java/jaeger-b3/build.gradle
Line 4 in e2c6d1a
**Question:
We have the jaeger-core as the dependency. May I ask the reason why it has to be a shadow ?
Is there a way that we can manage the version of the dependencies ourselves ?
**
The following are more details of why we ask
The reason why I ask is that, the jaeger-core depends on jaeger-thrift which in turn depends on the old 4.2.X apache httpcore version.
We have some code which needs the 4.3.X apache httpcore version. There is a transitive dependency conflict in our case and there is no way we can override the transitive dependency in gradle. (I could be wrong. If there is a walkaround, please let me know. )
we tried
but it does not work since the dependency is transitive.
this is the related ticket we filed sometime ago, in which we have a sample code to reproduce this issue.
#232
Thanks a lot !
The text was updated successfully, but these errors were encountered: