[zeromq-dev] How to do reliable fire and forget with a HWM?
Paul Colomiets
paul at colomiets.name
Fri Sep 2 21:28:23 CEST 2011
Hi Edward,
On Fri, Sep 2, 2011 at 7:36 PM, Schaller, Edward B <schallee at lanl.gov> wrote:
> The basic problem is that if the puller on a push/pull socket with a HWM is slow, the pusher has no way to know if the message was ever sent before shutting down. Contrary to the documentation, if the HWM on the puller has been reached, shutting down the context will drop the message.
Have a look at ZMQ_LINGER option:
http://api.zeromq.org/master:zmq-getsockopt
--
Paul
More information about the zeromq-dev
mailing list