Replies: 2 comments 4 replies
-
Hi, the messaging pub-sub is completely managed by aedes. |
Beta Was this translation helpful? Give feedback.
-
That is just an event to inform you that a subscription has happen, all the underlying logic is handled by aedes (store subscription too but only if he needs to store it based on if session is clean or not and the sub QoS)
aedes |
Beta Was this translation helpful? Give feedback.
-
I'm trying to understand how aedes handels subscriptions. when aedes.on('subscribe', callback) is called does the default persistence automatically store or do I need to maintain subscriptions in code myself ?
Plus, I'm new to this and I assumed that aedes.subscribe is called every time a new subscription is called but i'm confused how to assign topic ?
Beta Was this translation helpful? Give feedback.
All reactions