ADR_013 Use REST between Customer, Order and Pricing
Date: 10/30
accepted
We discussed what should be the communication method between Customer and Order, Order and Pricing. This ADR records the reasoning behind the decision.
- Service is capable of providing results.
- Tight coupling between services
- Loose coupling
- Non-blocking on the client side.
- Easy to scale
- Service loose the ability to send response back to the client in case there is a failure.
We have chosen REST. Because client would expect Pricing and Order service to response in case there is an error.
Service has to be reliable and highly available. In case of service is down, or not available, client will need to proper handle the error.