Nithin B <
nithin....@gmail.com> wrote:
> I got a doubt that does MQTT server will maintain a queue for a
> particular topic.
It doesn't, and isn't meant to, so the rest of your test, (which
I admit I don't really understand) isn't relevant.
An MQTT broker will maintain queues _per client_ for each
subsciption. If the client disconnects and reconnects, those
queues are only kept if the client was connecting with
clean_session=false, and only if the messages were originally
_published_ at qos >= 1, and the client subscription was _also_
at qos >= 1, _and_ if the client id was the same.
Cheers,
Karl P