[zeromq-dev] state of publishers and subscribers via ZMQ_PUB and ZMQ_SUB
Doron Somech
somdoron at gmail.com
Fri Oct 23 23:07:52 CEST 2015
make the publisher the client (connect) and the subscriber the server
(bind), this is important, it will not work the other way, send heartbeat
from publisher every X seconds (don't forget to make sure subscriber
subscribe to the heartbeat). If you do it that way reconnection will happen
automatically. Alternatively you can just enable TCP keep alive.
On Oct 23, 2015 11:53 PM, "Aravind Sethuraman" <arvinj1 at gmail.com> wrote:
> I am building a full mesh of publishers and subscribers (no brokers) and
> as i would like to implement re-connecting when there is a reboot of a
> node. How can i get a list of current state of subscribers to a publisher
> node?
>
> thanks
> aRavind
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151024/0f879245/attachment.htm>
More information about the zeromq-dev
mailing list