79479565

Date: 2025-03-02 18:58:38
Score: 0.5
Natty:
Report link

Design 2 is much better in terms of DDD, but it requires a more mature events model; it can work smoothly without storing data projections if you have Integration events If for some reasons you cannot introduce Integration events, then you can try using processing pipeline in your domain microservices, and plug in your Compliance microservice here by implementing ValidateCompliance step that emits the event with full context. This workaround allows to avoid storing the context data on Compliance ms side but introduce some coupling.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ivan