-
-
Notifications
You must be signed in to change notification settings - Fork 512
Duplicate message delivery for multiple subscriptions on nested topics #426
Comments
on which backend? There is a whole dedupe logic, so it is a bug
|
Ah.. sorry didn't even think about it could be backend specific. This is on redis. And seems to be redis specific as well, at least it doesn't happen with mongo or memory backend |
Confirmed, it is redis specific. |
do you have an instant clue? I'm not familiar with the dedupe logic yet so would have to do some debugging first to understand things.. |
mhh okay. unfortunately i have no capacities today |
I stumbled over the following issue.
When subscribing with a single client to a mosca instance to two nested topics, e.g.
And subsequently publishing to
The client will receive the message twice (with different message ids).
I am not absolutely sure whether this is expected or not; I haven't found anything clear about it in the mqtt spec. however, at least cross-checking against
test.mosquitto.org
did not show this behavior.@mcollina is that a mosca or ascoltatori topic? I think in either case the fix shouldn't be too tough and I could create a PR in a few days..
The text was updated successfully, but these errors were encountered: