Getting Started
Getting started with resilience4j-rxjava2
Resilience4j provides a module with custom RxJava operators. The operators make sure that a downstream subscriber/observer can acquire a permission to subscribe to an upstream Publisher. The reactive types Observable
, Flowable
, Single
, Maybe
and Completable
are supported.
The module expects that RxJava2 or RxJava3 is already provided at runtime. It is not a transitive dependency.
repositories {
jCenter()
}
dependencies {
compile "io.github.resilience4j:resilience4j-rxjava3:${resilience4jVersion}"
//compile "io.github.resilience4j:resilience4j-rxjava2:${resilience4jVersion}"
}
Updated about 2 years ago