[zeromq-dev] Duplicate messages on subscriber reconnect in pub/sub pair

Martin Sustrik sustrik at 250bpm.com
Fri May 13 10:00:41 CEST 2011

Hi Benn,

> However, I would not be surprised if the internal tracking in 0mq simply
> tracks this by fd. Since the client reconnects so rapidly, it gets the
> same fd with the server, and a duplicate entry is contained within the
> internal tracking objects. This, I suspect, explains the duplicate messages.
> I’d like some independent clarification of this analysis.

Yes. That's the case. If an error is encountered with the socket the 
connection is restarted.


More information about the zeromq-dev mailing list