Skip to content

Default retry settings are too aggressive for Resource Exhausted errors #1685

@amfisher-404

Description

@amfisher-404

With the given initial retry of 0.1 sec, multiplier of 1.3, and max total timeout = 10 minutes, a request failing with ResourceExhausted could retry 33 times, and it will take over 20 attempts before the retry interval is > 30s.

The backoff should be more aggressive for RPCs that could retry ResourceExhausted: currently, this is just Publish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the googleapis/java-pubsub API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions