Simple, isn't it?
Define in your microservice B (Order Service)a call to the microservice A (Inventory Service). If Microservice B tries to call Microservice "A", then the circuit breaker takes place with the configuration setup, and it will notify you as you wish, which will be super helpful to avoid headaches for the final user, and will log ALL into files for future research and improvements.
In your microservice B, you need to explicitly mention microservice A:
Then, you need to mention the API pattern desired:
Top comments (0)