[zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?
Pieter Hintjens
ph at imatix.com
Fri Sep 19 07:56:13 CEST 2014
It's the ZMQ_ROUTER_HANDOVER option.
On Thu, Sep 18, 2014 at 7:28 PM, Justin Karneges <justin at affinix.com> wrote:
> 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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list