[zeromq-dev] Multi subscribe and single unsubscribe

Navneet Kumar navneet.krg at gmail.com
Thu Feb 11 12:17:01 CET 2016


Hello everyone,

I was testing with PUB-SUB and found that
When I subscribe to a topic twice, then unsubscribe once,
and again subscribe I receive all messages.
Messages queued at the PUB when I unsubscribed only once.

However if I unsubscribe twice or subscribe only once and unsubscribe once.
I will get messages only after the next subscribe.

I wanted to know the internal mechanism of how the PUB handles
multiple subscribe and unsubscribe messages and when does it
queue messages for the client.


Thanks
-- 
Navneet Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160211/69b3b311/attachment.htm>


More information about the zeromq-dev mailing list