[zeromq-dev] Notify send()er that they've hit the high water mark
Edwin Amsler
edwinamsler at thinkboxsoftware.com
Mon Jul 9 22:54:31 CEST 2012
I prefer Edwin. I'll make a test case, then report back.
On 09/07/2012 3:52 PM, Chuck Remes wrote:
> 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
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120709/a936f1c9/attachment.htm>
More information about the zeromq-dev
mailing list