Order processing — ZLink approach

OrderWorkflowSpot runs serially as the OrderId owner

Order processing — ZLink approach OrderWorkflowSpot runs serially as the OrderId owner Client app · Architecture component Client app Kafka log · external propagation · replay · Architecture component Kafka log external propagation · replay other-team systems · independent consumers · Architecture component other-team systems independent consumers L7 LB / gateway · K8s Ingress · Architecture component L7 LB / gateway K8s Ingress API servers ×N · route client · Architecture component API servers ×N route client OrderWorkflow ×N · OrderId owner · serial exec · Architecture component OrderWorkflow ×N OrderId owner · serial exec inventory/payment · ×N · channel member · Architecture component inventory/payment ×N · channel member location store · descriptor rows · Architecture component location store descriptor rows Order state DB · Architecture component Order state DB order · query HTTP owner routing by OrderId direct channel call publish confirmed facts save address resolution registration

ZLink approach

  • • OrderWorkflowSpot runs serially as the OrderId owner · holds hot state
  • • Inventory · payment are called directly by channel name (ZLink channel member) — reserve inventory · approve payment
  • • Kafka isn't replaced — its remaining role: external-system propagation · replay preservation (settlement · analytics · other teams consume independently)
  • • Queries hit the DB; the location store owns addressing (resolution · registration)