3 Getting up and running with gRPC and Golang

This chapter covers

  • Working with protocol buffers
  • Generating stubs from .proto files
  • Adding a stub generation process into the CI/CD pipeline using Github Actions
  • Maintaining .proto files in a separate repository
  • Maintaining backward and forward compatibility for protocol buffers

The communication between two services is just like two people talking: people use a telephone to connect, and gRPC does the same thing for interservice communication. In the same way that people use language to understand each other, two services use protocol buffers to exchange messages. It is crucial to select the proper communication style to create an effective relationship. Now that we understand that vital communication ...

Get gRPC Microservices in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.