reactor

null

Лицензия

Лицензия

Категории

Категории

React Взаимодействие с пользователем Веб-фреймворки Failsafe Библиотеки уровня приложения Distributed Applications Reactor Контейнер Микросервисы Reactive libraries
Группа

Группа

com.github.venth.failsafe
Идентификатор

Идентификатор

reactor
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

reactor
null
Ссылка на сайт

Ссылка на сайт

https://github.com/venth/failsafe-rxjava2
Система контроля версий

Система контроля версий

https://github.com/venth/failsafe-reactor

Скачать reactor

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.venth.failsafe/reactor/ -->
<dependency>
    <groupId>com.github.venth.failsafe</groupId>
    <artifactId>reactor</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.venth.failsafe/reactor/
implementation 'com.github.venth.failsafe:reactor:0.1.0'
// https://jarcasting.com/artifacts/com.github.venth.failsafe/reactor/
implementation ("com.github.venth.failsafe:reactor:0.1.0")
'com.github.venth.failsafe:reactor:jar:0.1.0'
<dependency org="com.github.venth.failsafe" name="reactor" rev="0.1.0">
  <artifact name="reactor" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.venth.failsafe', module='reactor', version='0.1.0')
)
libraryDependencies += "com.github.venth.failsafe" % "reactor" % "0.1.0"
[com.github.venth.failsafe/reactor "0.1.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
net.jodah : failsafe jar [1.0.4, 1.1.0)
io.projectreactor : reactor-core jar [3.1.2.RELEASE, 3.2.0.RELEASE)

test (6)

Идентификатор библиотеки Тип Версия
org.springframework : spring-test jar [5.0.2.RELEASE,5.1.0.RELEASE)
org.codehaus.groovy : groovy-all jar [2.4.13, 2.5)
org.spockframework : spock-core jar [1.1-groovy-2.4, 2.0-groovy-2.4)
org.spockframework : spock-spring jar [1.1-groovy-2.4, 2.0-groovy-2.4)
cglib : cglib-nodep jar [3.2.5, 3.3.0)
org.objenesis : objenesis jar [2.6, 3.0)

Модули Проекта

Данный проект не имеет модулей.

Circuit Breaker Operator for Spring Reactor

Build Status Maven Central Since introduction of Spring Reactive appeared a need of a circuit breaker that would follow the reactive principles and is very light.

FailSafe provides very light circuit breaker which works perfectly with Callable and Runnable and is complicated when comes to an application on an observable sequence.

This project brings new spring reactor circuit breaker operator based on FailSafe which aims to be easy to use.

Usage

gradle

compile 'com.github.venth.failsafe:reactor:x.y.z'

maven

<dependency>
    <groupId>com.github.venth.failsafe</groupId>
    <artifactId>reactor</artifactId>
    <version>x.y.z</version>
</dependency>

Usage for each of the ReactiveX observables type is pretty similar. The examples presented below shall explain the usage.

  • xxxSequence - a sequence that depends on the operator's type.
  • circuitBreaker is configured instance of FailSafe CircuitBreaker.

Flux

fluxSequence.transform(CircuitBreakerOperator.of(circuitBreaker))

Mono

monoSequence.transform(CircuitBreakerOperator.of(circuitBreaker))

Версии библиотеки

Версия
0.1.0