finagle-19.12.0
版本发布时间: 2019-12-14 00:03:04
twitter/finagle最新发布版本:finagle-24.5.0(2024-05-08 03:46:22)
New Features
- finagle-core, finagle-exp: Add annotations to
DarkTrafficFilter
to identify which span is dark, as well as which light span it correlates with. ba351f4d - finagle-core: Introduce Trace#traceLocal for creating local spans within a trace context. 1c6d5d24
Runtime Behavior Changes
- finagle: Upgrade to jackson 2.9.10 and jackson-databind 2.9.10.1 e333c839
- finagle-core: Per-method metrics on MethodBuilder are now created lazily, so if you have methods that you don't use, the associated metrics won't be exported. 6be5dc48
- finagle-mysql: The RollbackFactory no longer attempts to roll back if the underlying session is closed since it is highly unlikely to succeed. It now simply poisons the session and calls close. 99135e00
- finagle-netty4: Change the 'connection_requests' metric to debug verbosity. a6dc1296
- finagle-serversets: Ensure ZkSession#retrying is resilient to ZK host resolution failure. 7125026a
- finagle-thrift: Per-method metrics are now created lazily, so if you have methods on a Thrift service that you don't use, the associated metrics won't be exported. 6be5dc48
- finagle-zipkin-core: Tracing produces microsecond resolution timestamps in JDK9 or later. 08a926c6
- finagle-core: Trace#time and Trace#timeFuture no longer generate timestamped annotations or silently discard timing information. They now instead generate a BinaryAnnotation containing the timing information. In order to also get timestamped Annotations for when the operation began and ended, use in conjunction with Trace#traceLocal. 1c6d5d24
Breaking API Changes
- finagle-core: The RetryPolicy companion object is no longer a JavaSingleton. 9ffb3d13
- finagle-thrift: The RichClientParam constructors are now all either deprecated, so to construct it, you must call one of the RichClientParam.apply methods. 6be5dc48
Deprecations
- finagle-core: Deprecate Tracing#record(message, duration) as it does not have the intended effect and silently discards any duration information in the resulting trace. Instead you should use either Tracing#recordBinary or a combination of Trace#traceLocal and Trace#time. 1c6d5d24
Bug Fixes
- finagle-core: ClosableService client stack module that prevents the reuse of closed services when FactoryToService is not set. This is important for clients making use of the newClient api. c64bea09