I have a question and i read a lot of doc or forum but i dont find a concrete example.
I have one need
Client send telemetry datas periodically as an agent or deamon to server, (datas available from server saved in database...), and when server crash, client have to reconnect automatically on server.... (specific thing, server can send command to client to close it)
2 ways to do it,
1 create a periodical send fireAndForget data
2 more interesting (and what i try to do)
Client send setup connection to server, server can accept or refuse client, if accept ask to client for telemetry
with second option when server crash, client is not reconnecting when server restart. I tried to init connection another time when detect onError but work only one time
Expected Behavior
when server crash, client try to reconnect on server
I have a question and i read a lot of doc or forum but i dont find a concrete example.
I have one need
Client send telemetry datas periodically as an agent or deamon to server, (datas available from server saved in database...), and when server crash, client have to reconnect automatically on server.... (specific thing, server can send command to client to close it)
2 ways to do it,
1 create a periodical send fireAndForget data
2 more interesting (and what i try to do)
Client send setup connection to server, server can accept or refuse client, if accept ask to client for telemetry
with second option when server crash, client is not reconnecting when server restart. I tried to init connection another time when detect onError but work only one time
Expected Behavior
when server crash, client try to reconnect on server
Actual Behavior
client forget server and do nohintg more...
Steps to Reproduce
here the client code
client handler
And server code (PS i am using spring boot)