SAService Architect Open designer
SAService ArchitectDocumentation
Scheduling guide Input source | Sink submission

Temporal Input and Sink — Scheduling & Temporal

How durable executions enter the graph and graph values start durable work.

When to use

Use this page while designing, implementing, operating, or troubleshooting scheduled and durable execution.

Behavior

  • Input handlers collect worker values into an Input stream.
  • Sinks derive a message ID, submit durable execution, and optionally wait for a result.
  • Execution IDs derive deterministically from endpoint and message identity; duplicate starts reuse an owned execution after memo validation.

Sink submission flow

Contracts properties

User-facing handler shape.

PropertyTypeDescription
Go InputTemporal source handler

BeginRequest, ConsumeMessage, EndRequest; consume uses StreamContext collection.

Go SinkTemporal sink handler

GetMessageID, BeginRequest, EndRequest; framework owns submission.

Python InputTemporal source handler

begin_request, consume_message, end_request.

Python Sinkdirect framework sink

Generated maker binds framework-owned submission behavior.

TypeScript InputTemporalEndpointHandler

beginRequest, consumeMessage, endRequest.

TypeScript SinkTemporalEndpointHandler

beginRequest, getMessageId, endRequest.

Product-level example

Sink<T> -> getMessageId(value) -> execution ID -> Activity or Workflow