temporalio / temporalio/sdk-java
Allow users to specify or influence RpcRetryOptions for all kinds of GrpcRetries
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 433
- Forks
- 249
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 26
Description
Temporal strives to provide reasonable defaults for Retry options.
Also, we try to not expose RpcRetryOptions because of how easy they are to misconfigure.
But in some cases, our default choices don't work and there is no one value that fits all use cases.
The initial retry period is an example of a property that requires very different values for
- microservice orchestration usecase (we want to keep it really low)
- more traditional workflow or batch processing usecase where we want to avoid a snowball effect of retries and we can afford to wait.
We should come up with some ability to influence/specify RpcRetryOptions for our users to allow them to tune Temporal for their specific use case, but keeping a balance with incapsulation and enforcing the retry options to be safe.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing GrpcRetries behavior and how RpcRetryOptions are currently kept from users. Identify the retry cases covered by the request and the safety constraints that must remain enforced. Done means users can influence retry settings for all kinds of gRPC retries without exposing unsafe or easily misconfigured defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100