[zeromq-dev] Notify send()er that they've hit the high water mark
Chuck Remes
lists at chuckremes.com
Mon Jul 9 22:52:01 CEST 2012
On Jul 9, 2012, at 3:46 PM, Edwin Amsler wrote:
> There doesn't seem to be anything about how it signals that the high water mark happened. Unless I didn't read it thoroughly enough.
>
> "When a ZMQ_PUB socket enters an exceptional state due to having reached the high water mark for a subscriber, then any messages that would be sent to the subscriber in question shall instead be dropped until the exceptional state ends. The zmq_send()function shall never block for this socket type."
Ed, time for you to write a few lines of code to prove this works (or doesn't) for your use case. You can figure it out a lot faster than asking here now that you've been given some direction.
Let us know how it works out.
cr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120709/fe8c025e/attachment.htm>
More information about the zeromq-dev
mailing list