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.

Filename, size & hash SHA256 hash help File type Python version Upload date
zmcat-0.0.11-py2-none-any.whl (3.5 kB) Copy SHA256 hash SHA256 Wheel 2.7
zmcat-0.0.11.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page