openproto / protoconfig

ProtoConfig 1.0: Open Standard for using, defining, and consuming software configuration input in a unified way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standard should specify discoverability?

bwplotka opened this issue · comments

Discoverability of the protobuf is a big problem in the ecosystem (e.g gRPC). Ideally, binaries are self-descriptive. There might be huge value in bringing
this topic here, but it could be also subject to another specification (as per Focus on one thing well).

For example:

CPD Shall be embedded in the software executable/binary and available on demand. Note that this specification does not force any delivery mechanism as long as there is one.

  • It's recommended to expose protoconfig.v1 argument or flag that will output embedded CPD in .proto format.
  • For web applications it's recommended to also expose /protoconfig/v1 endpoint that returns CPD .proto format.

The above assumes CPD is self-contained which conflicts with the above about extensibility.