@knetik/micro-redis
v3.1.10
Published
This package adds redis support using IORedis to any [micro-core](https://www.npmjs.com/package/@knetik/micro-core) application as a multi tenant adaptor.
Downloads
54
Readme
Knetik Micro Redis Adaptor
This package adds redis support using IORedis to any micro-core application as a multi tenant adaptor.
When a customer connects to a micro-core application, the required app_id is passed into the adaptor initializer and used as the context for any redis records managed using the adaptor.
Setup
Install the @knetik/micro-redis
package
yarn add @knetik/micro-redis
Add the Adaptor to your config/environments/{env}.json
"ADAPTORS": [
"@knetik/micro-redis"
]
Add the REDIS_HOST
param as well
"REDIS_HOST": "127.0.0.1"
Documentation
More info is available in the DOCS