Cheetah
Cheetah

Reputation: 14379

GRPC REST channel implementation

You can add REST "annotations" to a GRPC service: https://cloud.google.com/endpoints/docs/grpc/transcoding

I know there is a GRPC proxy service that you can run to proxy between GRPC <-> REST.

My question is, is there a GRPC channel implementation in Java that will allow me to achieve this without running a proxy service?

Upvotes: 0

Views: 250

Answers (1)

Anar Sultanov
Anar Sultanov

Reputation: 3301

gRPC Transcoding is supported by Google APIs, Cloud Endpoint, gRPC Gateway and Envoy, but these annotations are not used by protoc-gen-grpc-java, so you have to either use a proxy service or implement support for these annotations yourself.

Upvotes: 1

Related Questions