HomeGuidesChangelog
GuidesGitHubLog In
Guides

Getting Started

Getting started with resilience4j-rxjava2

Resilience4j provides a module with custom RxJava2 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 io.reactivex.rxjava2:rxjava is already provided at runtime. RxJava2 is not a transitive dependency.

repositories {
    jCenter()
}

dependencies {
  compile "io.github.resilience4j:resilience4j-rxjava2:${resilience4jVersion}"
}