---
agentTools:
  projectIndex: https://resilience4j.readme.io/v1.7.0/llms.txt
---

# 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.

[block:code]
{
  "codes": [
    {
      "code": "repositories {\n    jCenter()\n}\n\ndependencies {\n  compile \"io.github.resilience4j:resilience4j-rxjava2:${resilience4jVersion}\"\n}",
      "language": "groovy"
    }
  ]
}
[/block]