1
0

zeromq.rst 968 B

1234567891011121314151617181920212223242526
  1. ================
  2. Zeromq Transport
  3. ================
  4. .. note::
  5. Zeromq is the current default transport within Salt
  6. Zeromq is a messaging library with bindings into many languages. Zeromq implements
  7. a socket interface for message passing, with specific semantics for the socket type.
  8. Pub Channel
  9. ===========
  10. The pub channel is implemented using zeromq's pub/sub sockets. By default we don't
  11. use zeromq's filtering, which means that all publish jobs are sent to all minions
  12. and filtered minion side. Zeromq does have publisher side filtering which can be
  13. enabled in salt using :conf_master:`zmq_filtering`.
  14. Req Channel
  15. ===========
  16. The req channel is implemented using zeromq's req/rep sockets. These sockets
  17. enforce a send/recv pattern, which forces salt to serialize messages through these
  18. socket pairs. This means that although the interface is asynchronous on the minion
  19. we cannot send a second message until we have received the reply of the first message.