envoyproxy / gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
https://gateway.envoyproxy.io
Apache License 2.0
1.61k stars 349 forks source link

Support gRPC-JSON transcoder #1776

Open quyenhoang96 opened 1 year ago

quyenhoang96 commented 1 year ago

Description: For now, Envoy-Gateway has GRPCRoute. And in some contexts, We need to call from the client(maybe browser, mobile ...) to service. And it calls with HTTP protocol by Restfull. Can we consider about gRPC-JSON transcoder to make GRPCRoute can call with HTTP.

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

zirain commented 1 year ago

can EnvoyPatch help with this?

quyenhoang96 commented 1 year ago

can EnvoyPatch help with this? Hi @zirain How the way can it help?

arkodg commented 1 year ago

@quyenhoang96 as a workaround you should be able to define any xds resource using https://gateway.envoyproxy.io/v0.5.0/user/envoy-patch-policy.html

quyenhoang96 commented 1 year ago

In https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter . It need to bin file. How to workaround bin file to envoy-proxy can read it.

arkodg commented 1 year ago

assigning to @AliceProxy who is interested in implementing this one, thanks !

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

arkodg commented 2 months ago

there are two options here

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

github-actions[bot] commented 1 day ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.