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
Most applications generate two types of events: Domain Events and Integration Events.
Domain events are generated and consumed within the bounded context (BC), while integration events are for inter-BC communication. It follows that integration event structures are shared between BCs.
In Protean, sharing events would mean storing them as a separate module (shared?) and importing them into both BCs.
A helper function that would accept the shared module and auto-register the events would be helpful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Most applications generate two types of events: Domain Events and Integration Events.
Domain events are generated and consumed within the bounded context (BC), while integration events are for inter-BC communication. It follows that integration event structures are shared between BCs.
In Protean, sharing events would mean storing them as a separate module (
shared
?) and importing them into both BCs.A helper function that would accept the
shared
module and auto-register the events would be helpful.Beta Was this translation helpful? Give feedback.
All reactions