Skip to content

solo-yolo/nats-streaming-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nats-streaming-cli

Publish & subscribe to NATS Streaming channels.

npm version ISC-licensed chat with me on Gitter support me on Patreon

Installing

npm install -g nats-streaming-cli

Or use npx. ✨

Usage

Usage:
    echo 'a new message' | publish-to-nats-streaming-channel <channel-name>
Options:
	--encoding  -e  Encoding to encode the message payload with. Default: utf-8
Usage:
    subscribe-to-nats-streaming-channel <channel-name>
Options:
	--encoding  -e  Encoding to decode the message payload with. Default: utf-8
	--format    -f  How to format the messages. json, raw, inspect (default)
	--ack       -a  Acknowledge the messages received.
	--metadata  -m  Print the message payload along its metadata.

Contributing

If you have a question or have difficulties using nats-streaming-cli, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%