Micronaut Framework 5.0 drops support for RxJava 2
by Sergio Del Amo CaballeroMicronaut Framework 5.0, to be released in Q2 2026, drops support for RxJava 2. Micronaut 5 users have two reactive options: Project Reactor or RxJava 3.
Micronaut public APIs are reactive library–agnostic. However, internally, when a reactive library is required, we use Project Reactor.
If you want to migrate from RxJava 2 to RxJava 3, you need to replace the dependency io.micronaut.rxjava2:micronaut-rxjava2 with io.micronaut.rxjava3:micronaut-rxjava3, and update the following imports:
io.reactivex.Completable→io.reactivex.rxjava3.core.Completableio.reactivex.Flowable→io.reactivex.rxjava3.core.Flowableio.reactivex.Maybe→io.reactivex.rxjava3.core.Maybeio.reactivex.Single→io.reactivex.rxjava3.core.Single