How to properly manage subscriptions #5105
-
I've been checking this guide regarding Cloud Connectors implementation but I'm a bit confused about the CloudSubscriptionRecord. The documentation specifies that the key for the subscriptions map should not be only the topic but also the QoS, however the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Moreover, regarding the DataService, should it support multiple qos subscriptions on the same topic? But also an unsubscription? Because the unsuscribe method of the interface does not support that. |
Beta Was this translation helpful? Give feedback.
-
Hello there @pintify 👋 , For the remaining question I might need the help of @marcellorinaldo ... |
Beta Was this translation helpful? Give feedback.
-
Yes, the |
Beta Was this translation helpful? Give feedback.
-
@pintify As you see, managing multiple subscribers on the same topic but different QoS is quite tricky. I suggest doing that only if really needed. |
Beta Was this translation helpful? Give feedback.
Yes, the
CloudSubscriptionRecord
should implement a check also for the QoS as…