You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Christoph Rupp <ch...@crupp.de> on 2012/01/18 08:23:53 UTC

automatic reconnect in case of network error

Hi,

i have a thrift client application which is connected to a thrift server.
If the client loses the network connection to the server then i have to
restart it. Is there a way to mitigate this, i.e. by somehow configuring
the client to transparently reconnect as soon as the connection is back?

If not - how do you best deal with this situation? Just closing the
transport and then re-opening it?

Thanks
Chris