Variant: the purchase asks for 6 pairs of Levi's 502 jeans and only 5 are in stock. Inventory rejects the whole sale, no one else receives events, and main runs out its 60-second wait.
Solid arrows: calls or published messages. Dashed: replies or returns. Green: success. Red: rejections and errors. Dashed amber boxes: alternative branches; dashed blue boxes: optional steps or loops.
What to notice
This scenario does not run with the default purchase: it shows up when you change the quantities in SimulacionApplication or the initial stock in InventarioService.
The rejection is all or nothing: the first line did fit, but the return happens before anything is decremented, so stock does not change.
There is no rejection event (for example inventory.rejected): the other services never find out and the only signal is the log.warn.
main does not fail: it prints the timeout message and exits with code 0, so start.sh keeps going and runs analytics over an empty topic.