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

Client SDKs must re-establish subs when session is recreated #4

Open
narinearraul opened this issue Jan 27, 2017 · 0 comments
Open
Labels

Comments

@narinearraul
Copy link
Member

tmpreiss commented on May 9, 2016
We need some logic in the client SDKs that re-issues a sub if the server has dropped it, e.g. if the client has been disconnected long enough that the rabbit queues are dropped. If the client gets disconnected and on reconnect is told it has created a new session, then it should re-issue the sub for any outstanding listens.

We also need to add logic in the server to notify the client when the session has been recreated (as opposed to simply reconnected).

@mkistler responded:

I believe we can manage this entirely in the clients by reissuing subs whenever a connection is re-established. Since the server does not reference-count sub's, these have no affect when the session is still alive but will re-establish the sub when the session timed out.

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

No branches or pull requests

1 participant