Skip to main content

A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat

Project description

https://travis-ci.org/flyte/zmcat.svg?branch=develop

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 <socket_type> <uri> [--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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zmcat, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size zmcat-0.0.11-py2-none-any.whl (3.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size zmcat-0.0.11.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page