[zeromq-dev] [PATCH] Update zmq_socket documentation for PUB socket limitations

Steven McCoy steven.mccoy at miru.hk
Tue Dec 7 09:24:45 CET 2010


Hi Martin,

  Can you add something to the effect of the following message to the
description on PUB sockets.

diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt
index 2156af2..a898a58 100644
--- a/doc/zmq_socket.txt
+++ b/doc/zmq_socket.txt
@@ -180,6 +180,9 @@ 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 will always return successful for _publisher_
sockets,
+no back pressure is provided in situations of a congested _subscriber_.
+
 [horizontal]
 .Summary of ZMQ_PUB characteristics
 Compatible peer sockets:: 'ZMQ_SUB'

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101207/08cf46bc/attachment.htm>


More information about the zeromq-dev mailing list