[zeromq-dev] ZMQ 2-x PUBSUB when router dies

Alex Sergeyev abc at alexsergeyev.com
Fri Jun 1 21:37:35 CEST 2012


I have interesting observation which is probably could not be
addressed in ZMQ, just to confirm I'm not crazy and things should be
this way.

One router core-dumped today. Subscriber behind it never realized that
it's time to reconnect and kept waiting for messages until I realized
that data is not there... Do you know what is the scenario of events
for such situation? How long would've that continued until anything
(OS or ZMQ) would've closed that socket?

Should I have application - level fix for such situation or there is
some ZMQ socket option that I could've used?


More information about the zeromq-dev mailing list