In the fourth episode, we make use of the events (being sent to the message bus) in order apply asynchronous integration between microservices. Such technique removes temporal coupling and increases resiliency.
How to deal with this situation
When we create the customer at the same time we create a copy of the customer in ORDERS
because we subscribe to the EVENT create customer
We have to do something with ORDERS and but in the meantime, the new customer is added - how to synchronize the customers in ORDERS with the customers in CUSTOMERS service?
somehow on startup?
thank you for the answer