theory of session in mqtt

43 views
Skip to first unread message

kushal bhattacharya

unread,
Nov 24, 2016, 10:12:19 AM11/24/16
to MQTT
hi,
I have some conflicts regarding the implmentation of will topic and session in mqtt broker.CAn anyone show me the path where i can have a clear picture of the implemnation of them.I really need a clear picture of the scenarios invloved between mqtt broker and mqtt client.
thanks,
Kushal

kushal bhattacharya

unread,
Nov 27, 2016, 8:56:21 AM11/27/16
to MQTT
the thing is i am just confused regarding the implementation of the session .The spec says about an abstract approach of how the sesssion have to be maintained  in the server and client side.The doubt i am having is how do i determine the seesion stored on server or client side.What are the constraints regarding their implmentations on both  ends

kushal bhattacharya

unread,
Nov 27, 2016, 11:34:46 AM11/27/16
to MQTT
to be more clear there is another thing which striked my mind.hivemq states that the broker must store all the subscriptions of the client with cleansession flag set to false.With that it also states that along with that missed messages and those messages which hasn't been properly acknowledged have to be stored too.So here comes the confusion.whats really is the difference between having all subscriptions and then stating the latter too.Is there any differnce with those statements?

Reply all
Reply to author
Forward
0 new messages