Technical requirements
The application in this chapter simulates the broken telephone game. If you're not familiar with this game, it is played by having one person think of a phrase and whisper it to the second player. The second player listens to the best of their ability and whispers it to the third player; this continues until the last player shares the message they received with the rest of the group.
Each application represents a player, with the first one printing out the message it is sending, then placing the message in a request object that's sent to the next application. The last application in the game will print out the message it receives. The following diagram shows the data flow of requests and responses through the system:
The communication between each service is done via gRPC (https://grpc.io), a remote procedure call system developed by Google. For the sake...