[zeromq-dev] state of publishers and subscribers via ZMQ_PUB and ZMQ_SUB
Justin Karneges
justin at affinix.com
Fri Oct 23 23:55:16 CEST 2015
If you make the subscriber the client, reconnections should still work.
I tested this myself again just now to be sure.
On Fri, Oct 23, 2015, at 02:07 PM, Doron Somech wrote:
> 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
>>
> _________________________________________________
> 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/20151023/9960659b/attachment.htm>
More information about the zeromq-dev
mailing list