Description
Hi folks! I'm working on a project which is using rails_event_store
for event persistence & publishing. However rather than sending & receiving events in-process, our dispatched events first make a round trip through an external queue (in order to, e.g., subscribe to events in other services).
To do this we have to prevent the RubyEventStore::Broker
from dispatching events directly to subscribers. We've achieved this currently by implementing our own Broker
and replacing the RailsEventStore::Client
's @broker
instance variable, however this is naturally brittle as the broker interface is an internal detail of the library & its configuration is not officially supported.
To resolve this, I was wondering if you would be open to making the RailsEventStore::Client
's (and thus also the RubyEventStore::Client
's) broker configurable via the initializer? I appreciate this is a slightly niche use-case, so if that's not something you want to support I totally understand, but I figured it couldn't hurt to ask. 😁
Metadata
Metadata
Assignees
Labels
Type
Projects
Status