chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

Example flow for using redis instance for reading redis streams #21

Closed bsriramprasad closed 4 years ago

bsriramprasad commented 4 years ago

Hi,

Can you please share a sample flow.json that I can export into my nodered to understand how to use Redis instance for reading for Redis stream commands like XREAD or XINFO ?

I am new to the JavaScript world and hence any additional documentation or other NPM repos related to redis streams can be suggested.

Thanks a lot in advance

Regards Sriram

chameleonbr commented 4 years ago

Now I've updated Redis module to support more commands, you could use Redis Cmd or Redis Instance. I recommend you to use the Redis Instance and in function node you could control stream inside.