apache / apache/rocketmq-mqtt

[Enhancement] Implement Session Expiry in MQTT 5.0

Open
#247 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
209
Forks
72
PR merge metrics
No merged PRs in 30d

Description

Split the Clean Session flag into a Clean Start flag which indicates that the session should start without using an existing session, and a Session Expiry interval which says how long to retain the session after a disconnect. The session expiry interval can be modified at disconnect. Setting of Clean Start to 1 and Session Expiry Interval to 0 is equivalent in MQTT v3.1.1 of setting Clean Session to 1.

branch: develop_mqtt5.0
FYI:https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html

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.