-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid overlapping subscriptions to MQTT topics
When a message matches several subscriptions of a connection, the very same message might be delivered several time to the connection. This is notably the case with NanoMQ (while Mosquitto delivers the message just once). The proposed overlap-detection mechanism doesn't remove all the overlaps, but only those for which holds a sub-pattern/super-pattern relationship (e.g. te/+/+/+/+/m/+ includes te/device/main///m/+). Signed-off-by: Didier Wenzek <[email protected]>
- Loading branch information
1 parent
700d52e
commit 141b931
Showing
2 changed files
with
77 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters