Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
0
votes
1 answer

Spring Cloud AWS - EKS and Secret Manager

I'm running a spring boot app in EKS/AWS. How can I, using spring cloud aws, make spring app load properties from AWS secret manager in EKS? Any sample for EKS/K8S integration? I haven't used spring cloud aws yet. I've seen samples that does not…
0
votes
0 answers

Fail to disable AWS SQS configuration Spring Cloud AQS Messaging 2.2.0

I have a Spring profile dbmigration that should not need the AWS SQS bean or configuration. However, I am not being able to disable this configuration when I run with this profile. Those are the only dependencies I have in my project: val…
0
votes
0 answers

How to create a custom dependency containing Amazon SQS dependencies?

This might be a silly attempt or I might be over complicating things here. I am trying to create a custom maven dependency containing an Amazon SQS to be used in other projects. The idea is to have a single dependency wrapping up several…
0
votes
1 answer

How do I apply a delay to messages on a FIFO SQS?

Using 'io.awspring.cloud:spring-cloud-starter-aws-messaging' how can we apply a per-queue delay to the messages in the queue? When I do the following... sqsTemplate.convertAndSend( "myqueue.fifo", myObject, Map.of(SQS_GROUP_ID_HEADER, id,…
Kevvvvyp
  • 1,704
  • 2
  • 18
  • 38
0
votes
0 answers

Migrate from io.awspring.cloud 2.4.2 -> 3.0.0-M1/2

I am just bumping our 3rd party packages to the latest versions for various vulnerability fixes. There has been some major changes it seems from awspring 2.4.2 -> 3.0.0.M*, notably quite a few classes have been removed. One of them being…
Hallam
  • 131
  • 1
  • 3
  • 11
0
votes
1 answer

How To Override Default SQS Configurations For Spring Cloud AWS Messaging

Specifically looking to override the default AmazonSQSAsync client in order to ensure that the client is compatible with FIFO queues as mentioned in the version 2.4.2 documentation here . Defining a bean in my application in a @Configuration class…
0
votes
1 answer

Can spring-cloud-aws using resourceLoader be used with S3 server-side-encryption using a kms key?

Using AWS SDK, it can be achieved easily like this: PutObjectRequest putRequest = new PutObjectRequest(bucket_name, bucket_name, new File(file_path)) .withSSEAwsKeyManagementParams(new…
ravikant
  • 415
  • 1
  • 5
  • 13
0
votes
1 answer

Read messages from different AWS account using @SqsListener

I have an SQS standard queue that is provided by a third party vendor who has given access to our IAM user to read messages from there. So the AWS account ID for the queue is different than the one of my user. I'm trying to use spring's @SqsListener…
Mateo
  • 500
  • 4
  • 11
0
votes
1 answer

SQS queue listener (Springboot)

How to control request with SQS. Suppose 4 request submitted in a same time in SQS, then only need to process one at a time. Once first is completes take second request from queue in process, and this process needs to continue. I was using…
0
votes
2 answers

Error converting multipartFile to file while uploading File to s3 Bucket java.io.FileNotFoundException

I am trying to upload a file to S3 Bucket using Spring Boot and spring-cloud-starter-aws. It works fine in my local, but on being uploaded to EBS, the files are not getting uploaded. The code: public String uploadFileToS3Bucket(MultipartFile file,…
0
votes
0 answers

Spring Cloud AWS SQSListener Interceptor for Converter

Please take into consideration that the following example is from a SNS Topic with a SQS subscription, not a simple sqs message. I'm currently using an SQSListener which receives a message from an SNS Topic with…
0
votes
2 answers

Spring Cloud application fails to connect to AWS Kinesis 'dynamoDBClient' must not be null

Unable to connect to Kinesis stream using Spring Cloud Stream Kinesis binder due to error java.lang.IllegalArgumentException: 'dynamoDBClient' must not be null //Stream binding EnableBinding(DataStream.class) public class StreamsConfig {} //Stream…
0
votes
0 answers

Problem synchronizing 'bucket' to local directory with Spring Cloud DataFlow Streams

I'm following this Case Study, which is similar to mine where I want to receive thousand of files in a S3 bucket and launch the batch task which will consume them. But I'm getting: Problem occurred while synchronizing 'bucket' to local directory;…
0
votes
2 answers

How to add AwsS3Client to spring boot project

I'm using Spring Boot 2.4.1 and Spring Cloud 2020.0.0 but I can't find spring-cloud-starter, spring-cloud-starter-aws, spring-cloud-aws-messaging where is this starters? How can I add these dependencies to my project? I need to get AwsS3Client in my…
John
  • 1,375
  • 4
  • 17
  • 40
0
votes
1 answer

ThreadPoolTaskExecutor with just one thread on pool not processing messages from AWS queue

I've created an on demand ChannelAdapter, AsyncTaskExecutor and a Channel for every queue registered on the application. I noticed that when the number of maxPoolSize of the AsyncTaskExecutor is equal to one, the messages are not being processed.…