[zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?
Justin Karneges
justin at affinix.com
Thu Sep 18 19:28:20 CEST 2014
On 09/18/2014 02:23 AM, Goswin von Brederlow wrote:
> On Wed, Sep 17, 2014 at 03:55:09PM -0400, Mark Wright wrote:
>> I have a router-router setup (destination IDs are acquired via a
>> broadcast/response, similar to the Freelance pattern in the ZMQ book).
>>
>> I've noticed that if my destinations go down and come back up with a new
>> ID, clients can't route to that ID. I'm using 4.0.3.
>
> Are you sure they have a new ID? I'm guessing not.
>
> You have to allow reused IDs to take over the ID. Otherwise the
> messages keeps getting send to the old connection. See socket options.
Which socket option controls this?
By the way, there's a thread from back in Feb when I reported the same
issue as Mark:
http://lists.zeromq.org/pipermail/zeromq-dev/2014-February/025202.html
Justin
More information about the zeromq-dev
mailing list