<@U9NC7D5BK> Do I understand correctly that WebFlu...
# feed
c
@iamszabo Do I understand correctly that WebFlux doesn’t use Rx at all and instead, invents its own copy of it?
b
They use Reactor which is a spring project but I think you can plug in Rx if you want to use that.
c
Not sure how since the types would not be compatible
b
c
Ah ok
s
The cornerstone of WebFlux is indeed Reactive Streams, which allows us to adapt to any non-blocking API : RxJava 1, RxJava 2,
CompletableFuture
, Akka, Coroutines. Reactor is leveraging most Reactive extensions conventions but using RxJava was not possible for us.
Flux
+
Mono
types is different from RxJava 2 type strategy, we are Java 8+, need to garantee API stability from a Pivotal POV, we need specific features like context that RxJava does not have, etc. Also keep in mind that Reactor is a co-production between Stéphane Maldini (Pivotal) and David Karnok (RxJava lead). Last but not least, Reactor is not just Reactor Core, Reactor Netty and other parts of the ecosystem.
reactor from rxjava maintainer