dotnet / dotnet/MQTTnet

Recover the session status from somewhere else

Open
#1,671 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
C#
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature request

We want to implement a cluster with high availability based on MQTTnet. Sometimes we need to close a pod and migrate all the client sessions to another pod. However, we cannot restore client sessions in the `MqttServer` class.

### Which project is your feature request related to?

- Server

### Describe the solution you'd like
I find the class `PreparingSessionEventArgs` which seems related to this feature, but the class is not used. Look forward to the finalizing of this feature.

### Describe alternatives you've considered

Do the session management on my own.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.