How to set up a system system using Redis as a pub/sub queue to push data between a node.js application and a java application running on the same system.
To Configure this, we will need jedis, a java driver for jedis
and node-redis
a node driver.
- create a new node project
- Install the node driver using
npm install node_redis
- Create the node app file with the following contents.
Node.js app.js