NachschlagenQuellenregister

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.2026
  • To maintain idempotency, design your Activities to be more granular.bestätigt 10.11.2026
  • However, 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.2026
  • The Activity function completes successfully, but the Worker crashes just before it notifies the Temporal Service.bestätigt 10.11.2026
  • If the Activity is not idempotent, this could have negative consequences, such as duplicate charges in a payment processing scenario.bestätigt 10.11.2026
  • These are enforced by the service you are calling from your Activitybestätigt 10.11.2026
  • You 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

05 Wenn ein Schritt schiefgeht

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.