/node-red-contrib-natsio

NATS protocol implementation for Node-RED

Primary LanguageHTMLMIT LicenseMIT

node-red-contrib-nats

NPM

NATS is a pub/sub protocol for IoT with a request/reply functionality.

Install

This is a fork of a initial work of node-red-contrib-nats, but with independent development.

Run the following command in the root directory of your Node-RED install:

npm i node-red-contrib-natsio

Functionality supported and ToDo

For gnatsd:

  • Publish
  • |-use callback or promise?
  • Subscription
  • |-Unsubscription after N messages
  • |-Queue
  • Request/reply
  • |-Timeout
  • |-max. replies
  • |-chosen reply subject?
  • Configuration node
  • |-Node status
  • |-Tabs
  • |-Credentials: user and password
  • |-Credentials: token
  • |-Don't crash on broker connection error (including node-red starting)
  • |-security: TLS
  • |-Configurable reconnecting options
  • Improve documentation

For nats-streaming-server:

  • This is a future work