Skip to content

Allow to manually reconnect a died instance #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Totktonada opened this issue Oct 18, 2019 · 0 comments
Open

Allow to manually reconnect a died instance #229

Totktonada opened this issue Oct 18, 2019 · 0 comments

Comments

@Totktonada
Copy link
Member

It could be more convenient to reconnect an existing instance based on some user side logic rather then create a new instance after disconnection of a current one. One option is to configure one of existing socket providers, another is to create a user own socket provider. However it may be simpler to catch the disconnected state situation and reconnect the client from an external code.

It may matter more for the cluster client that is bootstrapped from a one instance and uses cluster discovery to find others. If a need to reconnect occurs during a problem on the initial instance, reconnecting of an existing client will allow to bootstrap using instances from a last cluster discovery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants