In this video we look at a pattern for handling errors in gRPC bidirectional streams. Unlike Unary RPCs you can not just return an error direct to the caller. We examine a simple pattern to use the client send channel to return errors.
If there is particular content or a tool which you would like me to do a tutorial on please shout it out in the comments below.
Source Code:
https://github.com/nicholasjackson/bu…
Content:
0:00 Introduction
1:20 Problems with error handling in bidirectional streams
5:00 Using the client send channel to return error messages
5:30 Defining Protobuffer response messaged containing multiple message types
7:52 Importing other packages with protocol buffers
14:00 Returning Error messages using client Send
19:30 Handling errors in the client
27:50 Summary
#go #golang