Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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