1 <p align="center">
2 <a href="https://www.medusajs.com">
3 <img alt="Medusa" src="https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png" width="100" />
4 </a>
5 </p>
6 <h1 align="center">
7 @medusajs/event-bus-local
8 </h1>
9
10 <h4 align="center">
11 <a href="https://docs.medusajs.com">Documentation</a> |
12 <a href="https://www.medusajs.com">Website</a>
13 </h4>
14
15 <p align="center">
16 An open source composable commerce engine built for developers.
17 </p>
18 <p align="center">
19 <a href="https://github.com/medusajs/medusa/blob/master/LICENSE">
20 <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Medusa is released under the MIT license." />
21 </a>
22 <a href="https://circleci.com/gh/medusajs/medusa">
23 <img src="https://circleci.com/gh/medusajs/medusa.svg?style=shield" alt="Current CircleCI build status." />
24 </a>
25 <a href="https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md">
26 <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" alt="PRs welcome!" />
27 </a>
28 <a href="https://www.producthunt.com/posts/medusa"><img src="https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Day-%23DA552E" alt="Product Hunt"></a>
29 <a href="https://discord.gg/xpCwq3Kfn8">
30 <img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg" alt="Discord Chat" />
31 </a>
32 <a href="https://twitter.com/intent/follow?screen_name=medusajs">
33 <img src="https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@medusajs" alt="Follow @medusajs" />
34 </a>
35 </p>
36
37 ## Overview
38
39 Local Event Bus module for Medusa. When installed, the events system of Medusa is powered by the Node EventEmitter. This module installed by default in new (> v1.8.0) Medusa projects.
40
41 The Node EventEmitter is limited to a single process environment. We generally recommend using the `@medusajs/event-bus-redis` module in a production environment.
42
43 ## Getting started
44
45 Install the module:
46
47 ```bash
48 yarn add @medusajs/event-bus-local
49 ```
50
51 You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.
52
53 ```js
54 module.exports = {
55 // ...
56 modules: [ ... ],
57 // ...
58 }
59 ```
60
61 ## Configuration
62
63 The module comes with no configuration options.