1.8.13 • Published 2 days ago

@medusajs/event-bus-redis v1.8.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

Overview

Redis Event Bus module for Medusa. When installed, the events system of Medusa is powered by BullMQ and io-redis. BullMQ is responsible for the message queue and worker. io-redis is the underlying Redis client, that BullMQ connects to for events storage.

Getting started

Install the module:

yarn add @medusajs/event-bus-redis

Add the module to your medusa-config.js:

module.exports = {
  // ...
  modules: [
    {
      resolve: "@medusajs/event-bus-redis",
      options: {
        redisUrl: "redis:.."
      },
    },
  ],
  // ...
}

Configuration

The module can be configured with the following options:

OptionTypeDescriptionDefault
redisUrlstringURL of the Redis instance to connect to.events-worker
queueNamestring?Name of the BullMQ queue.events-queue
queueOptionsobject?Options for the BullMQ queue. See BullMQ's documentation.{}
redisOptionsobject?Options for the Redis instance. See io-redis's documentation{}

Info: See how the options are applied in the RedisEventBusService and loader.

If you do not provide a redisUrl in the module options, the server will fail to start.

1.8.13

6 days ago

1.8.12

1 month ago

1.8.11

3 months ago

1.8.10

6 months ago

1.8.9

10 months ago

1.8.8

11 months ago

1.8.7

11 months ago

1.8.6

12 months ago

1.8.5

12 months ago

1.8.4

1 year ago

1.8.2

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.8.0-rc.1

1 year ago

1.8.0-rc.2

1 year ago

1.8.0-rc.3

1 year ago

1.8.0-rc.4

1 year ago

1.8.0-rc.0

1 year ago

1.8.3

1 year ago

0.0.0

1 year ago