temporalio/sdk-java

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

Open

#1,727 opened on Mar 31, 2023

 (1 comment) (0 reactions) (0 assignees)Java (231 forks)auto 404
good first issue

Repository metrics

Stars
 (421 stars)
PR merge metrics
 (PR metrics pending)

Description

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