sockshop icon indicating copy to clipboard operation
sockshop copied to clipboard

Refactor Orders service to use messaging

Open aseovic opened this issue 4 years ago • 1 comments

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.

aseovic avatar Feb 12 '20 05:02 aseovic

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.

aseovic avatar Feb 12 '20 05:02 aseovic