https://github.com/flyte/zmcat
A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat
https://github.com/flyte/zmcat
Last synced: over 1 year ago
JSON representation
A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat
- Host: GitHub
- URL: https://github.com/flyte/zmcat
- Owner: flyte
- License: unlicense
- Created: 2015-03-01T22:59:11.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2019-06-30T14:59:26.000Z (almost 7 years ago)
- Last Synced: 2025-02-27T15:21:55.040Z (over 1 year ago)
- Language: Python
- Size: 31.3 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
.. image:: https://travis-ci.org/flyte/zmcat.svg?branch=develop
:target: https://travis-ci.org/flyte/zmcat
ZMCat
=====
A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat
Installation
============
::
pip install zmcat
Usage
=====
::
zmcat [--bind] [--key]
socket_type
***********
The type of ZMQ socket you require (pub, sub, push, pull).
uri
***
The URI to bind/connect to. For example, tcp://127.0.0.1:5555 or ipc:///tmp/mysocket
--bind
******
Bind to an interface instead of connecting to an existing socket. Relevant only for socket_type push and pull.
--key
*****
The key to use for a pub/sub socket.
Examples
========
::
zmcat pub tcp://*:5555
zmcat sub tcp://localhost:5555
zmcat pub tcp://*:5555 --key=mykey
zmcat sub tcp://localhost:5555 --key=mykey
zmcat push tcp://localhost:5555
zmcat pull tcp://*:5555 --bind
zmcat push tcp://*:5555 --bind
zmcat pull tcp://localhost:5555