Skip to content
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

Eviction warnings for OkHttp due to kamon-prometheus vs. kamon-zipkin #1276

Open
alexandru opened this issue Apr 19, 2023 · 2 comments
Open

Comments

@alexandru
Copy link

I updated Kamon to 2.6.0 and getting this warning:

[warn]     * com.squareup.okhttp3:okhttp:4.10.0 is selected over 3.12.1
[warn]         +- io.kamon:kamon-prometheus_2.13:2.6.0               (depends on 4.10.0)
[warn]         +- io.zipkin.reporter2:zipkin-sender-okhttp3:2.7.15   (depends on 3.12.1)

The problem here is that kamon-prometheus doesn't agree with kamon-zipkin on what version of OkHttp to use. Looking at kamon-zipkin, it looks like it depends on zipkin-sender-okhttp3 version 2.7.15, but the latest version is 2.8.3. I may be able to force newer zipkin-reporter and zipkin-sender-okhttp3 versions, but not sure.

Can the warning be ignored?

@ivantopo
Copy link
Contributor

I'm 99% sure that those OkHttp versions are compatible so probably it can be ignored. But I'll look into updating those dependencies anyways to avoid warnings.

@alexandru
Copy link
Author

@ivantopo thanks, would be appreciated.

I have versioning schemes declared in our build because the CLASSPATH has many libraries that could conflict, so our eviction warnings turn to errors as part of CI, with every exception needing special attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants