r2dbc / r2dbc-spi

Service Provider Interface for R2DBC Implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate TCK to RxJava 3

mp911de opened this issue · comments

Going forward, we're looking for a composition library that remains stable and doesn't produce conflicts with upgrades. Project Reactor plans a 4.0 release and that release is likely to require adoption for the public API. We want to use a composition library that supports Reactive Streams as first-class citizen and where co-existence of newer major versions is possible. RxJava has proved the coexistence of multiple versions with versions 2 and 3 by using versioned packages.

With Project Reactor slowing down on their plans to ship Reactor 4.0 along with breaking changes there's no immediate need to address this ticket.

While investigating a potential migration path, RxJava 3 doesn't provide simple means for usingWhen or then(…) composition. Instead, there's utility code require to achieve the same level of composition as with Project Reactor.

Not moving to RxJava 3 as the base infrastructure (e.g. usingWhen operator) is not easily usable for resource management and requires additional operator logic in our test kit. Also, Reactor has moved to a much more defensive upgrade path so we can rely on Project Reactor for the next couple years.