@knetik/micro-redis

3.1.10 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @knetik/micro-redis

Weekly Downloads

17

Version

3.1.10

License

MIT

Unpacked Size

4.59 kB

Total Files

5

Last publish

Collaborators

  • knetik