medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
24.7k stars 2.44k forks source link

Notification service not firing, keep getting "Processing XXX which has 0 subscriber" #7995

Open parotech123 opened 2 months ago

parotech123 commented 2 months ago

Bug report

Describe the bug

After extending the notificazion service as per guide https://docs.medusajs.com/development/notification/create-notification-provider#overview, every event is not firing and in the log console i get

``Processing XXX which has 0 subscriber```

System information

Medusa version (including plugins): 1.20.4, no pluginns Node.js version: 20.4.0 Database: postgres Operating system: ubuntu 22 Browser (if relevant):

Steps to reproduce the behavior

  1. start an empty project and install medusa
  2. extends the notification service as per docs provided and create dedicated loader
  3. Install bus local
  4. try to fire any events from the front end
  5. event is logged and processed correctly, but the notification system does not fire

Expected behavior

Notification system extended should fire

Screenshots

image

image

github-actions[bot] commented 21 hours ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.