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

Can support save session to disk or database #2065

Open
daliuzhen1 opened this issue Aug 20, 2024 · 1 comment
Open

Can support save session to disk or database #2065

daliuzhen1 opened this issue Aug 20, 2024 · 1 comment
Labels
feature-request New feature or request

Comments

@daliuzhen1
Copy link

daliuzhen1 commented Aug 20, 2024

Describe the feature request

Can support save session to disk or database, and reload the session data and message from database or disk after broker restart. Certainly, it should also recover the _unacknowledgedPublishPackets from database if set cleanSession to false. It is useful for our tolerance design

Which project is your feature request related to?

  • Server

Describe the solution you'd like

Load the session data and put them into MqttSessionsStorage class.

Describe alternatives you've considered

Additional context

image

image

@daliuzhen1 daliuzhen1 added the feature-request New feature or request label Aug 20, 2024
@PontusHolmberg
Copy link

Yes please. That would be a work around for my memory issue (#1836)

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

No branches or pull requests

2 participants