[zeromq-dev] DEALER to ROUTER and reusing identity.

Min miniway at gmail.com
Mon Feb 25 02:27:53 CET 2013


Please try using ROUTER_MANDATORY at router socket. If you get EHOSTUNREACH
at send, you should retry send.


2013년 2월 25일 월요일에 Trevor Bernard님이 작성:

> Hi,
> I have a use case where I'd like to re-cycle DEALER identities when a
> failover situation occurs. I have one service SV1 that creates a
> DEALER connection to a ROUTER socket on SVn. SV1 has a hot standby and
> uses the same identity in a failover situation. The first connect goes
> as you would expect, but in the situation of a failover, the second
> SV1 never receives any messages from SVn.
> Can someone point me in the right direction on how to route back the
> response?
> -Trev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org <javascript:;>
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130225/26e5cf86/attachment.html>

More information about the zeromq-dev mailing list