Andrea' Blog

Systems Engineer at Cloudflare, Italian based in London (UK)

I love go, clean code practices, distributed services and anything related.

Torre di Malfatano

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....

February 7, 2021 · 6 min · Andrea