6.20What if one Scatter-Gather route fails?
Now things get interesting.
Suppose:
Salesforce → success
Billing → timeout
Loyalty → success
Question:
Should
/customer-profilefail completely?
Maybe.
Maybe not.
This is business semantics.
Possible policy:
billing data mandatory
→ fail entire request
or:
billing data optional
→ return partial response
such as:
{
"customerId": "C001",
"companyName": "Acme",
"balance": null,
"loyaltyLevel": "Gold",
"warnings": [
"Billing information unavailable"
]
}
The orchestration primitive does not decide your business semantics.
You do.