Skip to content

TransferListener not working properly #3670

Description

@kanonier171

Example implementation of upload file with s3TransferManager does not log upload progress properly. When I upload a file with size 1GB, progress log show me 100% but next log "Transfer complete!" occurr after few minutes.

Example code

    UploadFileRequest uploadRequest = UploadFileRequest.builder()
        .putObjectRequest(putObjectRequest)
        .addTransferListener(LoggingTransferListener.create())
        .source(fileInStorage)
        .build();
    CompletedFileUpload completedUpload = s3TransferManager.uploadFile(uploadRequest).completionFuture()
        .join();

AWS Java SDK version used

2.19.8

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

    bugThis issue is a bug.p2This is a standard priority issuetransfer-manager

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions