Update dependency io.zipkin.reporter2:zipkin-sender-okhttp3 to v3 - autoclosed #748
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.17.2
->3.3.0
Release Notes
openzipkin/zipkin-reporter-java (io.zipkin.reporter2:zipkin-sender-okhttp3)
v3.3.0
: Zipkin Reporter 3.3Compare Source
Zipkin Reporter 3.3 adds a
BaseHttpSender
type, which eases http library integration. It also addsHttpEndpointSupplier
which supports dynamic endpoint discovery such as from Eureka, as well utilities to create constants or rate-limit suppliers. Finally, brave users get a native PROTO3 encoder through the newMutableSpanBytesEncoder
type.These features were made in support of spring-boot, but available to any user with no new dependencies. For example, the PROTO encoder adds no library dependency, even if it increases the size of zipkin-reporter-brave by a couple dozen KB. A lion's share of thanks goes to @reta and @anuraaga who were on design and review duty for several days leading to this.
Here's an example of pulling most of these things together, integrating a sender with spring-cloud-loadbalancer (a client-side loadbalancer library).
This endpoint supplier will get the configuration endpoint value and look up the next target to use with the
loadBalancerClient
. The rate limiter will ensure a gap of 30 seconds between queries. While below is hard-coded, it covers some routine advanced features formerly only available in spring-cloud-sleuth. Now, anyone can use them!Full Changelog: https://github.com/openzipkin/zipkin-reporter-java/compare/3.2.1..3.3.0
v3.2.1
: Zipkin Reporter 3.2Compare Source
Zipkin Reporter 3.2 deprecates
Sender
for a simpler typeBytesMessageSender
. This only supports synchronous invocation (as used by the async reporters in the reporting thread) and requires senders to pass an empty list vs a complicated and usually implementedcheck()
function. The result is being able to implement a custom sender in less than 50 lines including imports like below! Thank a lot to @anuraaga and @reta for the review on this.Full Changelog: https://github.com/openzipkin/zipkin-reporter-java/compare/3.1.1..3.2.1
v3.2.0
Compare Source
v3.1.1
: Zipkin Reporter 3.1Compare Source
Zipkin Reporter 3.1 adds custom encoding (non-JSON) support for zipkin-reporter-brave's
AsyncZipkinSpanHandler
.This was first used in encoder-stackdriver-brave) to allow traced apps to send spans to stackdriver without a zipkin core jar dependency
Full Changelog: openzipkin/zipkin-reporter-java@3.0.1...3.1.1
v3.1.0
Compare Source
v3.0.2
Compare Source
v3.0.1
: Zipkin Reporter 3.0.1Compare Source
Zipkin Reporter 3.0.1 fixes a problem where classpath scanners such as spring would trigger a
zipkin2.Span
class load onAsyncZipkinSpanHandler
in zipkin-reporter-brave, which intentionally has no dependency on that.v3.0.0
: Zipkin Reporter 3.0.0Compare Source
Zipkin Reporter 3.0.0 makes the io.zipkin.zipkin2:zipkin dependency of io.zipkin.reporter2:zipkin-reporter-brave optional. This means those using the
AsyncZipkinSpanHandler
will have no dependencies except any sender they configure. In particular, this allows those using Brave for things besides zipkin (e.g. wavefront) to avoid a dependency. Also, those sending spans zipkin have simpler dependency configuration and save a couple hundred KB, as well.Those using types from the core io.zipkin.reporter2:zipkin-reporter artifact should depend on this directly, possibly using our bom to align deps.
io.zipkin.reporter2:zipkin-reporter
still defaults to depend onio.zipkin.zipkin2:zipkin
, but it can be excluded if you know what you are doing.Technically, some base classes to accommodate this, but they don't have affect on call sites except those implementing a custom
Reporter
orSender
. Due to these type changes, this is a major version change. However, must users will have a drop-in experience, except possibly dependency configuration changes.Thanks a lot to @anuraaga and @reta who helped think through this!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.