This project demonstrates how to use gRPC-Java with reactive-grpc in order to greatly simplify the development of gRPC clients and servers and avoid common pitfalls such as ignoring back-pressure.
The project contains two Protobuf examples, helloworld.proto
and
hello_streaming.proto
.
The examples have been forked from the original gRPC-Java repository, along with their client and server classes.
The client and server classes have then been copied and changed to use the
Reactor Core API, so that you can see the effect on the code side-by-side.
The following table shows the original and modified classes.
Like the original code in the gRPC-Java repository, this project is covered by the Apache License, Version 2.0.