Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bw-abrowne opened this issue Sep 21, 2022 · 0 comments
Open

Comments

@bw-abrowne
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant