Implement gRPC client in Golang
In this video we will learn how to create our gRPC client.
Our first step is to connect to a existing the gRPC server and then connect to the service available on the gRPC server. Finally we can call the any of the 4 type of rpc methods from client:
1. Simple RPC
2. Server stream RPC
3. Client Stream RPC
4. Bi-Directional RPC
Why gRPC?
gRPC is a modern open source high performance Remote Procedure Call (RPC) framework that can run in any environment
We will also get started and install protocol buffer compiler to create IDL for gRPC.
gRPC can use protocol buffers as both its Interface Definition Language (IDL) and as its underlying message interchange format
******** Table of content ********
00:00 Introduction about gRPC client in Golang
00:32 Intro – creating gRPC channel
01:20 Intro – creating gRPC stub
02:00 Intro – call gRPC methods
02:19 Code – create gRPC channel
03:12 Code – create gRPC stub
04:19 Code – call simple rpc using gRPC stub
06:00 Code – call simple server stream rpc using gRPC stub
08:36 Code – call simple client stream rpc using gRPC stub
10:59 Code – call simple bi-directional stream rpc using gRPC stub
14:41 Thank you
#gRPC #gRPCprotocol #microservices #microservicesarchitecture #Golang #golangdeveloper #microservicego #theexceptionhandler #webdevelopment #tutorial #golangdevelopment
create grpc server
create grpc server golang
Implement server-streaming gRPC API – Golang
gRPC Bi-directional Streaming
implement grpc server
what is gRPC
what is grpc and how it works
what is grpc protocol
what is protocol buffers grpc
golang microservices
microservices tutorial
microservices architecture
microservices
why use microservices
microservices in golang
microservices in golang example
how to implement microservices
Golang /Go
golang web development
golang
go
Comments are closed.