AWS Java SDK 1.9.3
When downloading many large files (~3Gb) from AWS S3 in Java server app I get SocketTimeoutException from time to time as following:
C
Here is how I can do in AWS SDK 1.9.3:
ClientConfiguration config = new ClientConfiguration(); config.setConnectionTimeout(connectionTimeout); config.setSocketTimeout(readTimeout); AmazonS3 s3 = new AmazonS3Client(credentials, config);