temporalio/sdk-java

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

オープン

#1,727 opened on 2023/03/31

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Java (231 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (421 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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:

コントリビューターガイド