gRPC-JSON transcoder filter
The filter config for the filter requires the descriptor file as well as a list of the gRPC services to be transcoded.
proto_descriptor
(required, string) Supplies the binary protobuf descriptor set for the gRPC services. The descriptor set has to include all of the types that are used in the services. Make sure to use the option for .
To generate a protobuf descriptor set for the gRPC service, you’ll also need to clone the googleapis repository from Github before running protoc, as you’ll need annotations.proto in your include path.
Then run protoc to generate the descriptor set from bookstore.proto:
services
(required, array) A list of strings that supplies the service names that the transcoder will translate. If the service name doesn’t exist in , Envoy will fail at startup. The may contain more services than the service names specified here, but they won’t be translated.
print_options
(optional, object) Control options for response json. These options are passed directly to JsonPrintOptions. Valid options are: