- grpc common as dependency for grpc-unary
- grpc common built with proto maven plugin, so we have to put the .proto in directory named proto, so generated file (target) will compile properly
- spring boot starter 3.0.0 have not working with grpc, so we have to use spring boot 2
- some version which only work in this project (proto buf version 3.14, grpc server starter 2.13.1.RELEASE)
- java_package name same with our package in grpc-unary
- @GrpcService so we can hit the service, is annotations from grpc starter
- onNext used to set the response
- onCompleted used to close the connection
https://yidongnan.github.io/grpc-spring-boot-starter/en/ https://grpc.io/docs/languages/java/basics/ https://www.imaginarycloud.com/blog/grpc-vs-rest/