Orizuru Transport Redis is a transport library for the Orizuru framework.
$ npm install @financialforcedev/orizuru-transport-redis
Use this dependency to specify the transport layer that @financialforcedev/orizuru
uses as Redis.
const
// get classes from orizuru
{ Server, Handler, Publisher } = require('@financialforcedev/orizuru'),
// get the transport
transport = require('@financialforcedev/orizuru-transport-redis'),
// configure the transport
transportConfig = {
url: 'redis://localhost:6379'
};
new Server({ transport, transportConfig }))...
new Handler({ transport, transportConfig })...
new Publisher({ transport, transportConfig })...
Click to view JSDoc API documentation.