databricks-sdk-java icon indicating copy to clipboard operation
databricks-sdk-java copied to clipboard

[FEATURE] Control number of retries per call

Open satviksr-db opened this issue 1 year ago • 1 comments

Problem Statement Currently, the SDK automatically retries API calls 4 times before failing

Proposed Solution While the default is good, it would be good if we could configure the number of retries we want per call or atleast choose not to retry

something like

workspaceClient.withoutRetries().callApi()

Additional Context We have a usecase where we need to continuously call an endpoint, however if its failing, we would prefer not retrying

satviksr-db avatar May 16 '24 11:05 satviksr-db

this is actually a good change. the whole retrystrategy isn't configurable, I would prefer to modify it.

MurtadhaS avatar May 05 '25 08:05 MurtadhaS