Skip to content

schimaere/node-red-contrib-natsstreaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-natsstreaming

Node-RED nodes for nats streaming

Installation

npm install node-red-contrib-natsstreaming

Or in NodeRED Manage palette and serarch for node-red-contrib-natsstreaming

Requirements

Needs an instance of nats streaming to publish messages or subscribe to a topic https://nats.io/

Usage

Publish

publish new

Every publish node needs

  • a nats server
  • a channel name
  • a client id

If everything is correct the node shows a green dot otherwise an error messege will show what is missing and the dot is red.

publish connected

Subscribe

subscribe new

The subscribe node needs the same basic settings

  • a nats server
  • a channel name
  • a client id

This node will also show a green dot if it is connected and a red one if not.

publish connected

Server

publish connected The configuration for a nats streaming server is saved in an NodeRED configuration node. Adding a new one can be done from a publish or subscribe node by clicking selecting Add new nat-straming-server... and clicking on the pen icon.

server new

The server needs

  • a nats server adress - default is localhost
  • a port number - default is 4233
  • a name of the cluster - default is test-cluster

About

NodeRED nodes for nats-streaming

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •