Skip to content

Commit

Permalink
Fix format issue of zmq_socket.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
githejie authored and bluca committed Sep 6, 2024
1 parent 1f4dd54 commit 64db7d2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/zmq_socket.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Groups are matched using exact matching (vs prefix matching of PubSub).
NOTE: Radio-dish is still in draft phase.

ZMQ_RADIO
^^^^^^^
^^^^^^^^^
A socket of type 'ZMQ_RADIO' is used by a _publisher_ to distribute data.
Each message belong to a group, a group is specified with xref:zmq_msg_set_group.adoc[zmq_msg_set_group]
Messages are distributed to all members of a group.
Expand Down Expand Up @@ -339,15 +339,15 @@ Outgoing routing strategy:: N/A
Action in mute state:: Block

Scatter-gather pattern
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~
The scatter-gather pattern is the thread-safe version of the pipeline pattern.
The scatter-gather pattern is used for distributing data to _nodes_ arranged in
a pipeline. Data always flows down the pipeline, and each stage of the pipeline
is connected to at least one _node_. When a pipeline stage is connected to
multiple _nodes_ data is round-robined among all connected _nodes_.

ZMQ_SCATTER
^^^^^^^^
^^^^^^^^^^^
A socket of type 'ZMQ_SCATTER' is used by a scatter-gather _node_ to send messages
to downstream scatter-gather _nodes_. Messages are round-robined to all connected
downstream _nodes_. The _zmq_recv()_ function is not implemented for this
Expand All @@ -374,7 +374,7 @@ Action in mute state:: Block


ZMQ_GATHER
^^^^^^^^
^^^^^^^^^^
A socket of type 'ZMQ_GATHER' is used by a scatter-gather _node_ to receive messages
from upstream scatter-gather _nodes_. Messages are fair-queued from among all
connected upstream _nodes_. The _zmq_send()_ function is not implemented for
Expand Down Expand Up @@ -433,7 +433,7 @@ Action in mute state:: Block


Peer-to-peer pattern
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~

The peer-to-peer pattern is used to connect a peer to multiple peers.
Peer can both connect and bind and mix both of them with the same socket.
Expand Down Expand Up @@ -474,7 +474,7 @@ Incoming routing strategy:: Fair-queued
Action in mute state:: Return EAGAIN

Channel pattern
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
The channel pattern is the thread-safe version of the exclusive pair pattern.
The channel pattern is used to connect a peer to precisely one other
peer. This pattern is used for inter-thread communication across the inproc
Expand All @@ -483,7 +483,7 @@ transport.
NOTE: Channel is still in draft phase.

ZMQ_CHANNEL
^^^^^^^^
^^^^^^^^^^^
A socket of type 'ZMQ_CHANNEL' can only be connected to a single peer at any one
time. No message routing or filtering is performed on messages sent over a
'ZMQ_CHANNEL' socket.
Expand Down

0 comments on commit 64db7d2

Please sign in to comment.