DEV Community

ritaCosta93
ritaCosta93

Posted on

Event driven patterns - Solution

Solution

  • Decoupling the services
  • Reversing the dependencies
  • Bottling everything

https://whimsical.com/event-driven-patterns-solution-UZdHF1kTNMfEFRkLbkVTNL

Now, the Communications are just dependent on the Insurance Quoting service to get the new address.

The Insurance Quoting reacts to the event, from the Event queue, sending an email to the Communications service.

The Customer Management and the Insurance Quoting are now independent.

We've bottled everything and created a record that we can refer to and pass around

Discussion (0)