Skip to content
CommunicationDocs 1.3.x

Choosing a Communication Mechanism ​

Orders needs to know whether Inventory has stock before answering the customer. That is a service call. After an order is accepted, other services can react to what happened through an event.

Choose the interaction and its recovery owner The interaction goal selects a service call, a stream or an event, while workflows needing durable progress use an external Temporal worker with explicit compensations. External durable orchestration Interaction goalReply now, react later,or recover partial progress? Service callOne reply now · ctx.callDownstream failure affects this request StreamingA sequence of replies · ctx.streamCancellation and completion are explicit Event publicationAnnounce a fact · EventBusDelivery, ordering and idempotencyBroker consumers finish independently Temporal workflowExternal service + dedicated workerDurable steps and retry policyHRIS / car-sharing examples CompensationsUnwind registered stepsEach can fail; not atomic
Calls couple latency and availability; events add delivery and idempotency concerns. Temporal owns durable orchestration outside Connectum. Compensations can fail and do not make service changes atomic.

Choose by the result you need ​

Calls couple latency and availability. Events add delivery, ordering and idempotency concerns. Neither makes a multi-service operation atomic.

Go deeper ​

Compare the full examples and failure trade-offs.

Find a section from the full guide

The detailed material is preserved on a separate page. Earlier section links still work here.