An open API service indexing awesome lists of open source software.

https://github.com/aliyuncontainerservice/grpc-transcoder

an envoyfiler generator for grpc-transcoder
https://github.com/aliyuncontainerservice/grpc-transcoder

Last synced: about 1 year ago
JSON representation

an envoyfiler generator for grpc-transcoder

Awesome Lists containing this project

README

          

# grpc-transcoder

- support istio1.6+

```bash
# https://github.com/AliyunContainerService/hello-servicemesh-grpc
proto_path={path/to/hello-servicemesh-grpc}/proto
# https://github.com/grpc-ecosystem/grpc-gateway/tree/master/third_party/
proto_dep_path={path/to/third_party}
protoc \
--proto_path=${proto_path} \
--proto_path=${proto_dep_path} \
--include_imports \
--include_source_info \
--descriptor_set_out=landing.proto-descriptor \
"${proto_path}"/landing.proto
```

```bash
make build
```

```bash
grpc-transcoder \
--version 1.7 \
--service_port 9996 \
--service_name grpc-server-svc \
--proto_pkg org.feuyeux.grpc \
--proto_svc LandingService \
--descriptor landing.proto-descriptor
```

- https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter
- https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/header_to_metadata_filter