Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 20 Reactive API Adapters ▪ Spring automatically adapts common reactive API types • according to return/parameter declarations in user components • org.reactivestreams.Publisher interface or library-specific API types • adapted to Reactor Flux/Mono for internal processing purposes ▪ Traditionally supported: RxJava 1 & 2, j.u.c.Flow, CompletableFuture • RxJava: Flowable, Observable, Single, Maybe, Completable • on JDK 9+: java.util.concurrent.Flow.Publisher interface ▪ New in 5.2: support for Kotlin coroutines (“suspend fun”) • Flow and Deferred return values, as exposed by Kotlin-based code