Skip to content

Support per-attempt timeout configuration #1320

@ianbotsf

Description

@ianbotsf

Describe the feature

The Kotlin SDK does not presently support per-attempt timeouts, although other SDKs such as Java v2 and Rust do. Design and implement new config parameter(s) to support this.

Consider also whether a dedicated request-level timeout setting would also be helpful. Users can implement their own guards using kotlinx.coroutines's withTimeout function but a native config param is likely more expected from other SDKs and allows more centralized control of timeouts.

Is your feature request related to a problem?

Users currently have no way to limit attempt duration and can only control overall request duration via withTimeout.

Proposed Solution

No response

Describe alternative solutions or features you've considered

No response

Acknowledge

  • I may be able to implement this feature request

Smithy-Kotlin version

1.4.22

Platform (JVM/JS/Native)

(any)

Operating system and version

(any)

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions