- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Redis Workflow Engine Module
The Redis Workflow Engine Module uses Redis to track workflow executions and handle their subscribers. In production, it's recommended to use this module.
Register the Redis Workflow Engine Module#
Add the module into the modules
property of the exported object in medusa-config.ts
:
Environment Variables#
Make sure to add the following environment variables:
Redis Workflow Engine Module Options#
Option | Description | Required | Default |
---|---|---|---|
| A string indicating the Redis connection URL. | No. If not provided, you must provide the | - |
| An object of Redis options. Refer to the Redis API Reference for details on accepted properties. | No | - |
| The name of the queue used to keep track of retries and timeouts. | No |
|
| A connection object having the following properties:
| No. If not provided, you must provide the | - |
Test the Module#
To test the module, start the Medusa application:
You'll see the following message in the terminal's logs:
Terminal❯Connection to Redis in module 'workflow-engine-redis' established