Skip to main content
0 votes
0 answers
83 views

How to verify that two files are equal using Java AWS SDK

I am looking for the way how to compare two files (especially large files) in S3 within the same bucket using Java AWS SDK. I do not need to verify whole bucket if there are duplicates. As I ...
Bronek Kristal's user avatar
0 votes
0 answers
39 views

Why is AWS EC2 Describe Tags endpoint override being stripped in AWS SDK for Java v2.25+

My Java microservice is using the AWS SDK for Java v2.21. I construct an EC2 Client in this way: Ec2Client.builder().credentialsProvider(DefaultCredentialsProvider.create()) .endpointOverride(...
Martin Bamford's user avatar
0 votes
0 answers
15 views

Is there a simple way to get the progress of an uploadDirectory request to S3TransferManager?

In the AWS SDK v1, it was possible to add a ProgressListener directly to a MultipleFileUpload object and set up logging in the progressedChanged method so that the progress of a directory upload could ...
SarahAsparagus's user avatar
1 vote
0 answers
43 views

AWS SDK endpointOverride truncating on create topic calls. (AWS SDK V2 Java)

I am trying to create a topic. (using an emulator instead of real SNS) . As part of this in the SNSClient declaration i ensure the endpointOverride is pointing to my emulator endpoint. The client ...
Vinay's user avatar
  • 79
0 votes
0 answers
90 views

S3 presigned post URL with AWS SDK

I am working on a generating a S3 presigned post URL with AWS SDK with java. This is my java function: import com.amazonaws.services.s3.model.PresignedPost; import com.amazonaws.services.s3.model....
Indian Gooner's user avatar
0 votes
0 answers
65 views

Equivalent of "aws eks update-kubeconfig" from AWS Java SDK

Is there a way to perform the equivalent of aws eks update-kubeconfig from the Java AWS SDK v2? If there is no direct equivalent, I'm wondering if there is a way to describe the cluster with the AWS ...
Bryan Bende's user avatar
  • 18.7k
1 vote
1 answer
80 views

Java Amazon SDK 2.x equivalent for the 1.x "S3Objects" utility class

I'm migrating a java project that was using the AWS SDK 1.x to list and iterate through objects lazily in S3. S3Objects iterableS3Objects = S3Objects.withPrefix(amazonS3, myBucketName, myPrefix); for ...
Parker H Gordon's user avatar
0 votes
1 answer
493 views

How to set the request body for POST request using the AwsCrtHttpClient (AWS CRT HTTP Client?)

I am creating HTTP requests with the AWS CRT HTTP Client, but I cannot find a way to set the request body. I am using Java 11 with the AWS SDK version 2.27.9. No matter how I configure this ...
Flumenque's user avatar
1 vote
1 answer
64 views

How to use the AWS CRT HTTP Client with Hoverfly?

I would like to implement the AwsCrtHttpClient and intercept the HTTP requests in the unit tests with Hoverfly, but Hoverfly is not intercepting the requests. The client is initialized like: private ...
Flumenque's user avatar
0 votes
0 answers
77 views

Why fetching secret first time via "SecretCache" is SUPER SLOW compared to via SecretsManagerClient

When I configure a SecretCache with a SecretsManagerClient it takes my app (running as a docker container on my local mac) 10-12 seconds to retrieve the secret from AWS Secrets Manager. When instead, ...
ItDepends's user avatar
0 votes
0 answers
75 views

Spring cloud AWS is not able to load keys from custom directory

I am trying to access AWS access key and token Spring Boot and Spring Cloud AWS from a custom place '/usr/etc/cicd/'. I am using spring boot 3.3. with AWS cloud 2023.0.3 dependency. I have added the ...
Sumit Sood's user avatar
2 votes
0 answers
140 views

AWS SDK Https calls from EKS pod slower than ECS

I have a Spring Boot reactive application running on both ECS and EKS, with similar hardware configuration (cpu:6 and memory 16G). This applications has a REST API endpoint that updates multiple ...
Shankar's user avatar
  • 2,845
0 votes
0 answers
112 views

AWS SDK calls have higher latency in Kubernetes (EKS) compared to Elastic Container Service

I am working on migrating a Docker Spring Boot Reactive application from AWS ECS to AWS EKS. In ECS, the task is allocated "cpu": "6144" & "memory": "16384"....
Shankar's user avatar
  • 2,845
1 vote
0 answers
96 views

AWS S3 SDK v2 Upload Adds Random String Prefix to JSON File

I'm using the AWS SDK v2 for Java to upload JSON data to an S3 bucket. However, after the upload, the file in S3 contains a random string prefix and the JSON data appears to be incomplete or corrupted....
Med-KG's user avatar
  • 109
0 votes
0 answers
210 views

SqsListener not working in Sprint Boot 3.3.0

I am trying to upgrade one of my services to Spring Boot 3.x from Spring Boot 2.7.x Current Versions: Spring Boot: 3.3.0 Java: 21 Spring AWS Cloud: 3.1.1 Unfortunately, @SqsListener is not working and ...
Shashank Gupta's user avatar

15 30 50 per page
1
2 3 4 5
13