19. gRPC Error handling in gRPC Bidirectional streams
16.3K views on YouTube
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/building-microservices-youtube/tree/episode_18
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
All revenue from advertisements in this video are donated to charity.