finagle-20.8.0
版本发布时间: 2020-08-12 23:50:52
twitter/finagle最新发布版本:finagle-24.5.0(2024-05-08 03:46:22)
20.8.0
Runtime Behavior Changes
- finagle-netty4-http: Post, Put, Patch non-streaming outbound requests with empty bodies will be added the Content-Length header with value 0. 9ce18e85
- finagle-core: A ServiceFactory created by ServiceFactory.const/constant propagates the wrapped service status. 3347c095
- finagle-http: c.t.f.http.filter.PayloadSizeFilter no longer adds an annotation on each streaming chunk and instead aggregates the byte count and adds a single record on stream termination. e87b1c35
- finagle-zipkin-scribe: zipkin scribe log_span prefix replaced with scribe. zipkin-scribe/scribe/<stats>. 5b100ee9
New Features
- finagle-core: introduce type-safe ReqRep variant 459daf68
- finagle-core: Added a new variant of Filter.andThenIf which allows passing the parameters as individual parameters instead of a Scala tuple. fb071d9b
- finagle-core: new metric (counter) for traces that are sampled. finagle/tracing/sampled 1d6503e0
- finagle-netty4: Add the c.t.f.netty4.Netty4Listener.MaxConnections param that can be used to limit the number of connections that a listener will maintain. Connections that exceed the limit are eagerly closed. 9991aae3
- finagle-thrift: Added java-friendly c.t.f.thrift.exp.partitioning.ClientHashingStrategy and c.t.f.thrift.exp.partitioning.ClientCustomStrategy create methods, and added java-friendly c.t.f.thrift.exp.partitioning.RequestMergerRegistry#addRequestMerger and c.t.f.thrift.exp.partitioning.ResponseMergerRegistry#addResponseMerger to make partitioning easier to use from Java. e0d78d14
Breaking API Changes
- finagle-core: ReqRep can no longer be created via new ReqRep(..). Please use ReqRep.apply(..) instead. 459daf68
- finagle-thrift: Updated the c.t.f.thrift.exp.partitioning.ClientHashingStrategy and the c.t.f.thrift.exp.partitioning.ClientCustomStrategy to take constructor arguments instead of needing to override methods on construction. e0d78d14
- finagle-zipkin-core: Removed unused statsReceiver constructor argument from RawZipkinTracer. 5b100ee9