Skip to content

MethodRetry requires maximumAttempts Despite Having a Default Value of 0 #750

Open
@bw-abrowne

Description

@bw-abrowne

Describe the bug
An IllegalArgumentException occurs if maximumAttempts is not passed for an activity's MethodRetry

To Reproduce
Is the issue reproducible?

  • Yes

Steps to reproduce the behavior:
Don't pass maximumAttempts; seen when initialIntervalSeconds, backoffCoefficient, maximumIntervalSeconds, and expirationSeconds are all populated.

Expected behavior
The default value of maximumAttempts (0) should be used and an IllegalArgumentException should not be thrown.

Additional context
Additionally, the concepts documentation includes inconsistent parameter names as compared to the Java client

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions