- Notifications
You must be signed in to change notification settings - Fork0
gRPC-defined protobufs for peripheral services such as health checking, load balancing, etc.
License
mmorel-35/grpc-proto
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains the canonical versions of common protocol definitionsfor peripheral services around gRPC such as health checking and load balancing.
For Bazel users, it can be included directly as anhttp_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 withthe version of grpc-proto that was copied from. Changes should be made to protofiles in this repo before being recopied elsewhere. This prevents forking theproto 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 havesanity tests that would fail if a proto was no longer byte-identical.
The directory structure should match the protocol package. For example,health.proto
in packagegrpc.health.v1
will be placed ingrpc/health/v1/health.proto
.