How to detect breaking changes and lint Protobuf automatically using Gitlab CI and Buf

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • buf-examples

    Example repository that uses Buf.

  • Buf's repository contains exemplary workflow definitions for:

  • I have created a sample repository under https://gitlab.com/mionskowski/protobuf-ci. Navigate to Merge Requests to see both passed and failed pipelines.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • gRPC

    The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

  • Protobufs are most commonly used in RPC services for inter-service communication. Their usage is also growing for public-facing interfaces, and recently they have been adopted in tools such as Apache Kafka.

  • buf

    The best way of working with Protocol Buffers.

  • To maintain backward/forward compatibility in Protobufs, every change to the schema must be thoroughly code-reviewed and tested for compliance. Humans are prone to making errors. Therefore, several tools have emerged to help with the process, most notably Buf.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts