temporalio/sdk-java

inconsistency on MaximumAttempts attribute between local activities and "normal" activities

Offen

#1.727 geöffnet am 31.03.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Java (231 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (421 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Expected Behavior

setting setMaximumAttempts=0 (or not setting any value, default = 0) for local activities should make the activity retry forever.

I expect the same behavior as "normal" activities, where MaximumAttempts=0 implies retry forever.

Actual Behavior

when MaximumAttempts is set to 0, local activities do not retry

Steps to Reproduce the Problem

HelloLocalActivity.java.zip

Specifications

  • Version:
  • Platform:

Contributor Guide