内容简介:Resilience4j v0.13.2 发布了,Resilience4j 是一个轻量级的容错组件,其灵感来自于 Hystrix,但主要为 Java 8 和函数式编程所设计。轻量级体现在其只用 Vavr 库(前身是 Javaslang),没有任何外部依赖。而 Hyst...
Resilience4j v0.13.2 发布了,Resilience4j 是一个轻量级的容错组件,其灵感来自于 Hystrix,但主要为 Java 8 和函数式编程所设计。轻量级体现在其只用 Vavr 库(前身是 Javaslang),没有任何外部依赖。而 Hystrix 依赖了 Archaius ,Archaius 本身又依赖很多第三方包,例如 Guava、Apache Commons Configuration 等。
Resilience4j 提供了如下几款核心组件
resilience4j-circuitbreaker: Circuit breaking
resilience4j-ratelimiter: Rate limiting
resilience4j-bulkhead: Bulkheading
resilience4j-retry: Automatic retrying (sync and async)
resilience4j-cache: Response caching
限速组件架构:

更新内容包括 bug 修复、新增特性以及移除旧功能,具体如下:
PR #244: Corrected link to Prometheus Metrics Integration
PR #246: Make async retrofit call not make the request when circuit is open
PR #248: Removed rxjava2 dependency for time limiter
PR #253: Fixed documentation
PR #254: Additional factory methods for Micrometer CircuitBreakerMetrics
PR #271: Remove deprecated usage of Mockito Matchers
PR #276: Add response predicate to retry sync and async for enhancement
PR #277: Generate BOM for resilience4j
PR #281: Avoid creating unnecessary logging strings
PR #284: Avoiding calling bulkheadConfigSupplier needlessly
Issue #245; PR #260: Fix CircuitBreakerSubscriber for Reactor doesn’t count successes when using Mono/Flux.toFuture()
源码下载:https://github.com/resilience4j/resilience4j/releases/tag/v0.13.2
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- 《JavaScript面向对象精要》之二:函数
- python面向对象-1方法、构造函数
- 《JavaScript面向对象精要》之四:构造函数和原型对象
- Facebook 开源 Skip,面向对象+函数式编程语言
- Facebook 开源Skip,面向对象+函数式编程语言
- Golang面向对象编程之构造函数【struct&new】
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Everything Store
Brad Stone / Little, Brown and Company / 2013-10-22 / USD 28.00
The definitive story of Amazon.com, one of the most successful companies in the world, and of its driven, brilliant founder, Jeff Bezos. Amazon.com started off delivering books through the mail. Bu......一起来看看 《The Everything Store》 这本书的介绍吧!