Greetings,
I am working on GRPC java assignment.
Short desc abt requirement:
multiple client applications and single server.
Every time client stores the message in Database and upon successful storage, pass on the message to grpc server and store the message in server database.
So, Client database and server database has the same set of database records.
Problem stmt:
When there is a network disconnect, client is unable to connect the server and hence there is a mismatch in database records(client vs Server)
I am looking for a grpc-java flag/status to know disconnect and connect events so that I can pic the disconnect timestamp and push all the messages to server to be in sync the database records.
Please provide me code snippet , sample/example to achive this.
Thanks in advance.
Sivaram