sockshop
sockshop copied to clipboard
Refactor Orders service to use messaging
Order service implementation is quite naive at the moment, as it makes blocking calls to Payment and Shipping services, which is not how a real-world Order Processing service would work.
We should capture the Order as quickly as possible, and use messaging to move Order through various states (CREATED, PAID, SHIPPED) instead.
The problem is that the only backend that has messaging support at the moment is Redis, and we don't have messaging support in Helidon yet, so maybe this should wait until the latter is available.