Redis

Redis

Type: PubSub

Sends and receives messages using Redis.

This driver is doesn't support unsubscribe on a specific subscription. It will unsubscribe all subscriptions of the channel.

Installation

npm install ioredis

Usage

import { redis } from '@adaloop/tellthem/drivers/redis'
...
buses: {
redis: {
driver: redis({
})
}
}
...

Options

For more detailed options, feel free to check the ioredis documentation for more details about the configuration.

OptionDescriptionDefault
hostThe hostname of the redis server.N/A
portThe port of the redis server.6379
usernameThe username used to connect.N/A
passwordThe password used to connect.N/A

On this page