otobus / event_bus

:surfer: Traceable, extendable and minimalist **event bus** implementation for Elixir with built-in **event store** and **event watcher** based on ETS.

Home Page:https://hexdocs.pm/event_bus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log empty topic listeners

mustafaturan opened this issue · comments

The current implementation allows all events to create insertion to Store and Observation ETS tables even if there is no subscriber for the topic. This may cause unnecessary operations.

Following actions might be reasonable:

  • Log these topics
  • Don't insert event data if there is no subscription for the event topic