Hi,
I am wondering what's the recommended way of doing versioning and version negotiation in gRPC? The use case I can trying to solve is:
1) I have an API server that uses gRPC. The API might have multiple versions.
2) The client has multiple versions too.
3) I want the newer version of the client to smartly pick the API version (through some negotiation) depends on the API version that the server supports. For instance, if the server exposes an older version of API, the client will choose to use the old API to talk to the server.
In the REST, the standard way of supporting that is through Content-Type negotiation:
I am wondering if there is anything equivalent in gRPC?
Thanks!
- Jie