- GRPC
- Protobuffers
- Install Protoc compiler
- Install Proto generator for desired language (C++, java, Kotlin, Python, Go, Ruby, Objective-C, C#, PHP)
https://grpc.io/docs/protoc-installation/
linux:
$ apt install -y protobuf-compiler
$ protoc --version # Ensure compiler version is 3+
Mac:
$ brew install protobuf
$ protoc --version # Ensure compiler version is 3+
https://developers.google.com/protocol-buffers/docs/reference/overview
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. \
--go-grpc_opt=paths=source_relative \
helloworld/helloworld.proto