A workflow for Protobuf using Buf and GitHub Actions
Introduction Recently I’ve been working on a new project, and I’ve decided to build the backend in Go leveraging a microservice architecture. I’ve also decided to use GRPC as transport for service-to-service synchronous communication as well as Kafka for asynchronous communication. GRPC leverages protocol buffers (known as protobuf) to compile API contracts to a variety of languages and easily generate stubs for clients and servers. Protobuf enables writing strongly typed contracts defining how to serialise and deserialize bytes into a given struct or class....