moquette-io / moquette

Java MQTT lightweight broker
http://moquette-io.github.io/moquette/
Apache License 2.0
2.3k stars 818 forks source link

Store subscription indentifier into subscriptions trie #804

Closed andsel closed 9 months ago

andsel commented 9 months ago

Release notes

Store and retrieve the subscription identifier into the subscriptions directory.

What does this PR do?

Spread the SubscriptionIdentifier of a subscription request down to the SubscriptionDirectory. Updated the CNode 's addSubscriptionto update subscriptions stored also if the subscription identifier changes (by value, removing or adding int).

Why is it important/What is the impact to the user?

It's a step in the implementation of subscription id functionality

Checklist

Related issues

Use cases