4 Comments
Jan 5, 2023·edited Jan 5, 2023

I totally agree with you on your situation the order system doesn't need to care about how the message/statistic service handles the order data, but how about the down stream services need to be co-related? Would you provide us any suggestion?

Let say your order service need to trigger payment service and invoice service in one of the business flow, and we need to pass the payment id and order id to the invoice service so as to co-relate the invoice and payment? Most likely, the payment id can only obtain after the payment record pass to payment service. Suppose that we need to give the user pdf invoice once the order made in UI.

Expand full comment