[zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?

Goswin von Brederlow goswin-v-b at web.de
Thu Sep 18 11:23:32 CEST 2014

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.


More information about the zeromq-dev mailing list