Glenn Vandevelde

Results 4 comments of Glenn Vandevelde

Got the same problem using 3.5.1 Sample code ``` @Test void testPutAndGetObject() throws Exception { URL resource = Thread.currentThread().getContextClassLoader().getResource("jon.png"); var uploadFile = new File(resource.toURI()); s3AsyncClient.putObject(PutObjectRequest.builder().bucket("eojt").key(uploadFile.getName()).build(),AsyncRequestBody.fromFile(uploadFile)).get(); var response = s3Client.getObject( GetObjectRequest.builder().bucket("eojt").key(uploadFile.getName()).build());...

Using auto configuration from spring boot and Spring Cloud for Amazon Web Services

@afranken i let spring boot create the async client. From there source they do something like this ``` @Bean @ConditionalOnMissingBean S3AsyncClient s3AsyncClient(AwsCredentialsProvider credentialsProvider) { S3CrtAsyncClientBuilder builder = S3AsyncClient.crtBuilder().credentialsProvider(credentialsProvider) .region(this.awsClientBuilderConfigurer.resolveRegion(this.properties)); Optional.ofNullable(this.awsProperties.getEndpoint()).ifPresent(builder::endpointOverride);...