Event Modules

An Event Module implements the underlying publish/subscribe system that handles queueing events, emitting them, and executing their subscribers.

This makes the event architecture customizable, as you can either choose one of Medusa’s event modules or create your own.


List of Event Modules#

By default, Medusa uses the Local Event Module. This module uses Node’s EventEmitter to implement the publish/subscribe system.

This is useful for development. However, for production, it’s highly recommended to use other Event Modules, Redis Event Module.

Local
For Development
Redis
For Production

Create a Event Module#

To create an event module, refer to this guide.

Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break