You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
After #36 is implemented, events are routed to Eventsourced actors (= destinations) based on the following default rules:
if destination.aggregateId is not defined, the destination will receive all events regardless whether event.aggregateId is defined or not.
if destination.aggregateId is defined, the destination will only receive events with matching event.aggregateId.
This shall be generalized to allow custom routing to destinations. When persisting events, EventsourcedActors should be able to specify a set of additional aggregate ids as routing destination. The default routing behavior as described above should be preserved.
An EventsourcedActor should also be able to opt-out from routing of events to replicas with the same aggregate id (by specifying an empty set). In this case, the only consumer of the event is the emitting EventsourcedActor. Routing of events to destination that have no aggregate id defined cannot be overriden. These destination must always receive all events from the event log (but can of course choose to ignore them).
The text was updated successfully, but these errors were encountered:
Opt-out from event routing to replicas makes little sense. Consequently, an application shouldn't be able to override both default routing rules, defined above. If a single event-sourced actor should be isolated, an application shouldn't define replicas of that actor.
After #36 is implemented, events are routed to
Eventsourced
actors (= destinations) based on the following default rules:destination.aggregateId
is not defined, the destination will receive all events regardless whetherevent.aggregateId
is defined or not.destination.aggregateId
is defined, the destination will only receive events with matchingevent.aggregateId
.This shall be generalized to allow custom routing to destinations. When persisting events,
EventsourcedActor
s should be able to specify a set of additional aggregate ids as routing destination. The default routing behavior as described above should be preserved.An. Routing of events to destination that have no aggregate id defined cannot be overriden. These destination must always receive all events from the event log (but can of course choose to ignore them).EventsourcedActor
should also be able to opt-out from routing of events to replicas with the same aggregate id (by specifying an empty set). In this case, the only consumer of the event is the emittingEventsourcedActor
The text was updated successfully, but these errors were encountered: