Skip to content
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

Add reconnect method #868

Closed
scottf opened this issue Feb 27, 2024 · 1 comment
Closed

Add reconnect method #868

scottf opened this issue Feb 27, 2024 · 1 comment
Labels
enhancement Enhancement to existing functionality

Comments

@scottf
Copy link
Collaborator

scottf commented Feb 27, 2024

Overview

Client should have a way that allows users to force reconnection process.
This can be useful for refreshing auth or rebalancing clients.

When triggered, client will drop connection to the current server and perform standard reconnection process.
That means that all subscriptions and consumers should be resubscribed and their work resumed after successful reconnect where all reconnect options are respected.

For most clients, that means having a reconnect method on the Client/Connection handle.

Connection spec has been updated in #258

ADR Issue

nats-io/nats-architecture-and-design#259

@scottf scottf added proposal Enhancement idea or proposal enhancement Enhancement to existing functionality and removed proposal Enhancement idea or proposal labels Feb 27, 2024
@ideahitme-github
Copy link

any update on this feature ?

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

No branches or pull requests

2 participants