10 Jul 2019

Exception Handling and Error Propagation in gRPC Java

It is quite important to propagate detailed error information from the server to the client in case something goes wrong, but the gRPC documentation lacks details on this topic.
In this tutorial, we are going to look at how to handle exceptions in the gRPC Java server and provide information about them to clients.

21 Jun 2019

Securing Java gRPC services with JWT-based authentication

gRPC is an open source, high-performance RPC framework that has several advantages to be used for communication between services, but unfortunately, in addition to SSL/TLS support, the only authentication mechanism built-in to gRPC is token-based authentication for use with Google services.
In this tutorial, we are going to create a gRPC server and secure it with JWT-based authentication.