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.

Source Distribution

zmcat-0.0.11.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

zmcat-0.0.11-py2-none-any.whl (3.5 kB view details)

Uploaded Python 2

File details

Details for the file zmcat-0.0.11.tar.gz.

File metadata

  • Download URL: zmcat-0.0.11.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zmcat-0.0.11.tar.gz
Algorithm Hash digest
SHA256 03afbe56e2ef1e024e361a4fbe4ab2329580bd614683c31e3e396564b0479e42
MD5 f1de06718fed4cbf0bc70cffa9c802a9
BLAKE2b-256 678ae6996faa764fea0b19aa401d40261ae6a80372694c69c3b0014f4fe3032f

See more details on using hashes here.

File details

Details for the file zmcat-0.0.11-py2-none-any.whl.

File metadata

File hashes

Hashes for zmcat-0.0.11-py2-none-any.whl
Algorithm Hash digest
SHA256 8c64f793760feca48756b132b8b6953335580d32bfe20d281f38eb51e22bd78f
MD5 5e111914146ff398ff456d96cc70c4d5
BLAKE2b-256 d66a57a6083e686f4d32ad43cfd52b2736c2e37b7c62e5025328a238eebc2d5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page