temporalio/sdk-java

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

Aperta

#1727 aperta il 31 mar 2023

 (1 commento) (0 reazioni) (0 assegnatari)Java (231 fork)auto 404
good first issue

Metriche repository

Star
 (421 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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:

Guida contributor