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

Cluster support #20

Open
simon622 opened this issue May 9, 2022 · 0 comments
Open

Cluster support #20

simon622 opened this issue May 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@simon622
Copy link
Owner

simon622 commented May 9, 2022

Should have the ability to synchronise connections across VMs. The state that would need to be synchronised is as follows;

Client Id
Outbound messages queue
Subscriptions
Will data
Last seen
Session expiry interval
Max packet size
Retain behaviour (from CONNECT)

The cluster service gets notified upon new client side connection of the connecting clientId. If cleanStart = false then the state from existing session in the cluster should be synchronised to local connected gateway. If cleanStart is true the cluster still needs to be notified to clean up state held elsewhere.

If a connection is ACTIVE or SLEEPING on another node in the cluster, it should be terminated and removed after synchronisation occurs.

@simon622 simon622 added the enhancement New feature or request label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant