nats-echo
Echo nats messages.
Last updated 2 years ago by zhaoyao91 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nats-echo 
SYNC missed versions from official npm registry.

NATS Echo

Echo NATS messages.

Features

  • easy to use
  • compact and pretty display with colors
  • support connecting to nats cluster

NPM Example

npm i -g nats-echo

nats-echo --url=nats:xxxx:4222

Docker Example

docker run --network=host -it --rm zhaoyao91/nats-echo --mode=system

Options

  • url = "nats://localhost:4222" - specify nats url
  • topic = ">" - specify topic to subscribe
  • mode = "user" - "user" or "system"
    • user mode:
      • every message is logged in two lines
      • message log is colorful
      • reconnect on start
    • system mode:
      • every message is logged in one line
      • message log is not colorful
      • do not reconnect on start

License

MIT

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

3 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |