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

Handle dropped connections #5

Open
s3bw opened this issue May 15, 2019 · 0 comments
Open

Handle dropped connections #5

s3bw opened this issue May 15, 2019 · 0 comments

Comments

@s3bw
Copy link
Contributor

s3bw commented May 15, 2019

@AkhilGNair

Also on making the initial connection - users shouldn't be given the option to connect.
The lib should handle connection drops to the broker for the application. So if we poll and hit an exception which implies a dropped connection, we should reconnect, and continuously reconnect (with max tries or a back off) until connected.

This would make the handling of reconnections opinionated, but would also make any downstream simple application simpler.

Related: #4

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

No branches or pull requests

1 participant