Skip to content

Can support save session to disk or database #2065

@daliuzhen1

Description

@daliuzhen1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions