Dokumentationerreichbar
Temporal Docs, Activity Definition
docs.temporal.io (externe Seite)
Die Doku des Ablaufwerkzeugs Temporal zur Aktivität, Abschnitt Idempotency, hier als Quelle für die Bauform der dauerhaften Ausführung. Sie beschreibt den Fall, dass eine Aktivität gelingt und der ausführende Prozess abstürzt, bevor er es meldet, und schlägt einen Schlüssel vor, der über Wiederholungen derselben Ausführung gleich bleibt.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 16.10.2026:
Temporal recommends that Activities be idempotent.
bestätigt 10.11.2026To maintain idempotency, design your Activities to be more granular.
bestätigt 10.11.2026However, you must balance this against the potential for a larger Event History, since there would now be three Activity Executions instead of one.
bestätigt 10.11.2026The Activity function completes successfully, but the Worker crashes just before it notifies the Temporal Service.
bestätigt 10.11.2026If the Activity is not idempotent, this could have negative consequences, such as duplicate charges in a payment processing scenario.
bestätigt 10.11.2026These are enforced by the service you are calling from your Activity
bestätigt 10.11.2026You can use a combination of the Workflow Run ID and the Activity ID as an idempotency key since this is guaranteed to be consistent across retry attempts but unique among Workflow Executions.
bestätigt 10.11.2026