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
- Host: GitHub
- URL: https://github.com/aliyuncontainerservice/grpc-transcoder
- Owner: AliyunContainerService
- License: apache-2.0
- Created: 2021-01-21T12:44:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-01T09:46:59.000Z (over 5 years ago)
- Last Synced: 2025-03-30T12:34:38.731Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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