temporalio/sdk-java

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

Aberta

#1.727 aberto em 31 de mar. de 2023

 (1 comentário) (0 reação) (0 responsável)Java (231 forks)auto 404
good first issue

Métricas do repositório

Stars
 (421 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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:

Guia do colaborador