• Stars
    star
    230
  • Rank 174,053 (Top 4 %)
  • Language Starlark
  • License
    Apache License 2.0
  • Created almost 8 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

gRPC-defined protobufs for peripheral services such as health checking, load balancing, etc.

grpc-proto

This repository contains the canonical versions of common protocol definitions for peripheral services around gRPC such as health checking and load balancing.

Usage

For Bazel users, it can be included directly as an http_repository.

Non-Bazel users are expected to copy the proto files from this repo as needed. However, those copies should not be modified; they should be byte-identical with the version of grpc-proto that was copied from. Changes should be made to proto files in this repo before being recopied elsewhere. This prevents forking the proto and makes clear the "latest version" of the proto.

Projects that copy the protos should defend against repo-specific modifications. They should use a script to copy that overwrites any such changes, or have sanity tests that would fail if a proto was no longer byte-identical.

Directory Structure

The directory structure should match the protocol package. For example, health.proto in package grpc.health.v1 will be placed in grpc/health/v1/health.proto.