DEV Community

Discussion on: Combining event sourcing and stateful systems

Collapse
 
goceb profile image
Goce

Products and orders could be modeled as different aggregate roots referencing each other just by the AR Ids (if there are no constraints preventing you to do it). That way they can be even moved to different services where each service is developed with or w/o ES depending on business requirements.