This project is a testbed for testing client-server connections using grpc.
The server module contains the server.
Use the documented maven grpc plugin to execute the protobuf:compile
and
protbuf:compile-custom
goals.
The client module contains the client.
Based on the recommendation on the grpc site I am using proto3 version of the protocol buffers. Check the main site for more info on protocol buffers.
I'm not quite sure how the code generation fits into the maven build lifecycle. If you rely on the code to be generated at compile time then you have no source to reference as you develop other classes that interact with that generated code. At first attempt it seems a better approach to generate the source classes outside of the build lifecycle and add them to the standard source locations.