Integrate with Minimalism

We must find appropriate way to integrate with multiple Bounded Contexts

Where possible use Value Objects to model concepts in a downstream context when objects from the upstream Context flow in.

  • This provides integration with a priority on minimalism - minimizing the number of properties that you assume responsibility for managing in the downstream model.

There are times when an object in a downstream Context must be eventually consistent with the partial state of one or more Aggregates in a remote Context.

  • Design an Aggregate in the downstream consuming context, because Entities are used to maintain a thread of continuity of change.

  • We should strive to avoid this modeling choice where possible.

  • When you can, favor Value Objects to model integrations.

  • This advice is applicable in many cases when consuming remote Standard Types.

Last updated