postgres-async-driver icon indicating copy to clipboard operation
postgres-async-driver copied to clipboard

RxJava 2.0 or Project Reactor

Open RyanHoldren opened this issue 8 years ago • 5 comments

I am currently experimenting with combining your library with Spring Webflux via RxJava2Interop. It's not going well. Actually, I am not even sure which library is misbehaving, but they are not working together well.

I am wondering if you have any plans to upgrade to RxJava 2.0 or even better (for me) Project Reactor.

Thanks for library!

Ryan

RyanHoldren avatar Jul 16 '17 21:07 RyanHoldren

Hi,

the current plan is to extract a "core" library that is built on Netty only (e.g. using Netty promises for async) and then create wrappers for RxJava1/2 and Reactor. On the short term, the current library will probably be ported just to RxJava 2.0.

PR:s welcome. :)

-Antti

alaisi avatar Jul 25 '17 18:07 alaisi

@alaisi the idea is good! I do not have much experience and do not so much free time now to help with this core feature, but would be for sure to help with this wrappers in the future.

leosilvadev avatar Jul 27 '17 18:07 leosilvadev

I've got a branch where I've completed this work as best as I knew how. If you want a pull-request to review the changes, let me know and I can set that up.

https://github.com/bnorm/postgres-async-driver/tree/bn/rxjava2

bnorm avatar Jul 31 '17 20:07 bnorm

@bnorm sounds great! Create a PR and I'll check it out.

alaisi avatar Aug 01 '17 20:08 alaisi

the current plan is to extract a "core" library that is built on Netty only (e.g. using Netty promises for async) and then create wrappers for RxJava1/2 and Reactor.

That would be awesome ! I would like to use this lib with kotlin coroutines, so the reactivex layer is only painful for me (the learning curve is steep).

fabienmoritz avatar Sep 01 '17 15:09 fabienmoritz