hi ,
i have a grpc client program, which reconnects automatically every time 
there is a server restart. I understand grpc has an in build backoff 
algorithm that connects automatically.
But i have a use case where when the server disconnection happens  and the 
when the client connects back to the server i would like to do a replay of 
messages for the client/server to be in sync.

To do that i need to know everytime the server disconnection happens?
is there a way i could do this ?
I am using grpc golang.
conn, err := grpc.Dial(serverIp+":"+ServerPort, timeout, grpc.WithBlock(), 
grpc.WithInsecure())

Any help is really appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c3f80c74-b886-4102-b6b8-22bb11e0ca68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to