Skip to content

[RRIO]: Add retryAfter field to UserCodeQuotaException #29769

@damondouglas

Description

@damondouglas

What needs to happen?

Some HTTP-based Web API servers will respond with a Retry-After header. To allow developer Caller implementations to signal this information back to Call's DoFn, add a @Nullable Duration retryAfter field to UserCodeQuotaException. It would be the responsibility of a developer Caller implementation to populate this field. Not all HTTP-based Web API servers will provide this header and not all Web APIs are HTTP-based.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After for more details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions