You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: Is there a way to expose a gRPC service as only HTTP and not as a gRPC service.
Description:
I'm writing a gRPC service which I want to expose only as HTTP service for now, maybe in future I might need to expose it as both HTTP and gRPC service but for now only as a HTTP service.
Considering the following Config file, how should I expose Bookstore service only as HTTP and not as gRPC.
@lps0535 after #2848 is merged, you will be able to do this.
instead of adding a route for /bookstore.Bookstore/ListShelves, you'll instead add a route that matches the route specified in your proto file (in this case, /shelves)
You can define your route with a HeaderMatcher to match "x-envoy-original-path" header. All transcoded request has this attached but native gRPC requests don't.
Title: Is there a way to expose a gRPC service as only HTTP and not as a gRPC service.
Description:
Config:
Many Thanks,
Sidhu
The text was updated successfully, but these errors were encountered: