Customizing gRPC Generated Code

Erik Englund
ITNEXT
Published in
8 min readMar 18, 2019

--

gRPC is a powerful framework providing fast efficient communication between services. What gRPC is and how to use it is beyond the scope of this article. If you are interested in getting started with gRPC I suggest you read the gRPC docs located here.

A central component of gRPC is the code generation for client/server applications. This code is generated by the protoc compiler from the .proto files. While the generated code follows several good practices such as immutable objects, and builder patterns there are other decisions that you may or may not like about the…

--

--

Writer for

Multiple years of experience in Java, Groovy, and Docker. A perfectionist by nature, I believe in taking a bit more time to find the right solution.