Skip to content

Configurable Retry Throttling #645

Closed
@madgnome

Description

@madgnome

As indicated in AmazonAsyncHttpClient we should allow users to customize throttled retries:

private CapacityManager createCapacityManager() {
        // When enabled, total retry capacity is computed based on retry cost and desired number of retries.
        // TODO: Allow customers to configure throttled retries (https://github.com/aws/aws-sdk-java-v2/issues/17)
        return new CapacityManager(SdkDefaultRetrySetting.RETRY_THROTTLING_COST * SdkDefaultRetrySetting.THROTTLED_RETRIES);
    }

The linked issue is marked as fixed but the issue is not fixed.

Expected Behavior

User can customize throttled retries/capacity manager.

Current Behavior

Users can't customize throttled retries/capacity manager.

Your Environment

  • AWS Java SDK version used: 2.0.0-preview-11

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