[zeromq-dev] Durable socket question
Pieter Hintjens
ph at imatix.com
Wed Nov 3 12:28:28 CET 2010
On Wed, Nov 3, 2010 at 12:21 PM, Moritz Heidkamp
<moritz at twoticketsplease.de> wrote:
> are you sure that this is the case? I have exactly this setup here. The
> PUSH socket does not complain about not being able to send messages
> while no PULL socket is bound to the endpoint it is connected to but
> once a PULL socket is bound, it doesn't get any of the messages that
> were sent before. Am I missing someting perhaps? I did not set any
> options on either socket.
Without setting any options on the sockets, messages will normally get
load balanced from PUSH to PULL sockets, and indeed the sender will
queue outgoing messages until it can deliver them. If you have a
minimal case where this does not happen, post it. Note that if you're
using 0MQ/2.0.x you must wait in the sender until all messages are
sent. If you kill either program before all messages have been sent,
they may be lost.
-Pieter
More information about the zeromq-dev
mailing list