Challenge: Applying gRPC API Versioning

Test yourself by applying gRPC API versioning techniques.

We'll cover the following

Overview

Using the project below, perform the tasks highlighted in the requirements section.

Requirements

In the following setup, we'll need to update the server-side gRPC API while retaining its backward compatibility with the client. We'll need to apply the following changes:

  • Add an integer age field to the request message.

  • Add the message_length field to the response, and populate it with the number of symbols in the message field.

  • Mark the name field of the request message as deprecated, but don't remove it.

Get hands-on with 1400+ tech skills courses.