Expose .abort() method in S3OutputStream for cancelling partially completed uploads #1199
Labels
component: s3
S3 integration related issue
type: enhancement
Smaller enhancement in existing integration
Milestone
Type: Feature
Is your feature request related to a problem? Please describe.
If writing a file through S3OutputStream has started - there is no possibility to abort the upload.
My scenario:
Sample code:
Describe the solution you'd like
New method
S3OutputStream#abort
which can be called if the stream is not closed yet.Describe alternatives you've considered
InMemoryBufferingS3OutputStream#abortMultiPartUpload
abort
methodNone of the alternatives are appealing.
Additional context
The text was updated successfully, but these errors were encountered: