Skip to content

Open up BlockingOutputStreamAsyncRequestBody #4119

Closed
@djchapm

Description

@djchapm

Describe the feature

For streaming uploads it is very handy to be able to use an implementation of an OutputStream. One already exists but access to it is blocked as package-private in AsyncRequestBody.forBlockingInput/OutputStream. This would work well for clients attempting to stream data to S3 Asynchronously using TransferManager with UploadRequest requestBody equal to this OutputStream implementation.

Use Case

Asynchronous Streaming Uploads to S3.

Proposed Solution

make public.

Other Information

Example usage can be found in example I uploaded to awslabs/aws-c-s3#317

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.20.79

JDK version used

17

Operating System and version

Darwin US10MAC44VWYPKH 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64 arm Darwin

Metadata

Metadata

Assignees

No one assigned

    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