opensergo-java-sdk icon indicating copy to clipboard operation
opensergo-java-sdk copied to clipboard

keep opensergoclient alive

Open jnan806 opened this issue 2 years ago • 0 comments

To keep OpensergoClient always be alived.

In current version, when opensergo-control-plane was shutdown , opensergo-java-sdk could not reconnect to opensergo-control-plane. So i improved it.

1、add an enum to defined the status of OpensergoClient. 2、add a keepalive function which was invoked in the start process of OpensergoClient. 3、record and change status for the OpensergoClient instance.

jnan806 avatar Oct 10 '22 09:10 jnan806