Allow to use Reactor Flux or RxJava Observable instead of gRPC StreamObserver
See original GitHub issueAllow to use Reactive types like Reactor Flux
or RxJava Observable
instead of dealing direction with gRPC StreamObserver
would be awesome for the end user, and since gRPC supports Backpressure that would be a very good match.
Integration with single value types like Reactor Mono
or RxJava Single
would also be really useful.
Maybe @saturnism has some ideas about how to achieve this since this is one of the topic or his upcoming Spring I/O talk …
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:20 (3 by maintainers)
Top Results From Across the Web
"Bridging" Reactor's Flux from gRPC StreamObserver
Nowadays there's an easier solution: https://github.com/salesforce/reactive-grpc. It supports bridging gRPC to both Reactor and RxJava 2.
Read more >Fully Reactive Request Processing with Project Reactor ...
I'll use the following protofile to define and interact with a gRPC service: This allows us to implement a Java-based gRPC service like...
Read more >RxJava vs Reactor - Tomasz Nurkiewicz
Let me quickly go through some of the differences. I assume you have some familiarity with both of these libraries. API. Flowable and...
Read more >Reactive gRPC In Java - Vinsguru
If you notice the method signature, it uses Flux / Mono Instead of StreamObserver. Reactive gRPC – Server Side: Service Implementation: Let's ......
Read more >Ikhun Um - Blog - LINE ENGINEERING
Let's Play with Reactive Streams on Armeria – Part 2 ... I will explain how you can convert an RxJava Observable to an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this issue can be closed as @cbornet is already working on this feature in https://github.com/cbornet/grpc-java-contrib/tree/reactor , tracked in https://github.com/salesforce/reactive-grpc/issues/6
great stuff @cbornet would love to see how we can plug in the lite cousin of rx especially for direct interop with spring fmk 5/spring boot 2