[zeromq-dev] strange behavior with pub/sub sockets (when pub connects)
Robert W
robertwalters83 at gmail.com
Thu Apr 7 18:58:33 CEST 2011
In this example, there is one publisher and one subscriber.
The publisher connects and the subscriber is the one that binds.
It looks like the publisher acts like a durable publisher and does not drop
messages (even if there is no subscriber).
This is quite different from what the documentation says.
I've posted a simple test example here: https://gist.github.com/908169
A side issue (which may be related) is that I find if the subscriber (which
had binded) drops away. After some time, when trying to restart it, it can't
bind to that socket. This is a bit harder to reproduce, and seems to only
happen after some time?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110407/dc30ad58/attachment.htm>
More information about the zeromq-dev
mailing list