temporalio/sdk-java

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

開放

#1,727 建立於 2023年3月31日

 (1 則留言) (0 個反應) (0 位負責人)Java (231 個分叉)auto 404
good first issue

倉庫指標

星標
 (421 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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:

貢獻者指南