temporalio/sdk-java

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

Ouverte

#1 727 ouverte le 31 mars 2023

 (1 commentaire) (0 réaction) (0 personne assignée)Java (231 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (421 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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:

Guide contributeur