Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
7
votes
1 answer

How to modify the object mapper that Spring Cloud AWS uses to deserialize SQS messages?

I need to modify the Jackson2 object mapper that Spring Cloud AWS uses when it deserializes JSON and register a JavaTime module with it. This is because the SQS payload contains an instance of the Java Instant class which has to be deserialized…
teuber789
  • 1,527
  • 16
  • 28
6
votes
4 answers

Which Spring Cloud AWS version should be used with Spring Boot 3?

I am trying to make SqsListener work but I can't with Spring Boot 3, it simply doesn't receive anything. When I change Spring Boot version back to 2.X everything's work perfectly. I am using 2.4.2 version of Spring cloud: ...
Don_Quijote
  • 936
  • 3
  • 18
  • 27
6
votes
2 answers

Turning off Spring Boot AWS Autoconfiguration

I'm using spring-cloud-aws-autoconfigure:2.1.0.RELEASE to connect to AWS. However when the app is running in an enviromnent other than AWS, I don't want the auto configuration to take place. I tried turning off the auto configuration as suggested…
Jardo
  • 1,939
  • 2
  • 25
  • 45
6
votes
2 answers

Spring cloud aws set endpoint

I user Spring cloud AWS for connecte to my Amazon S3 in openStack by default the endpoint is s3.amasonaws.com I want change the endpoint because my bucket S3 us in the private cloud not in public amazon cloud.
6
votes
1 answer

What is the Java based config version of ?

According to the latest version of the Spring Cloud AWS Docs (http://cloud.spring.io/spring-cloud-aws/spring-cloud-aws.html) section 5.2.3 states you need to configure the QueueMessageHandler by using the following in a traditional Spring XML…
peterl
  • 1,881
  • 4
  • 21
  • 34
6
votes
0 answers

How to configure Sleuth to trace AWS SQS queues

I am trying to trace Spring cloud integration aws + AWS SQS app with Sleuth. The receiver receives message from SQS after a message is added to queue. The log has app name, but no trace id and span id while receiving message from sql queue. Here is…
Mike
  • 61
  • 1
  • 3
6
votes
2 answers

How to disable Spring SQS handler in module/integration test

I have a spring boot application that does not much more than listening to an SQS queue via a component "MessageHandler" that has a @SqsListener-annotated method, and start some work when a message arrives. There is also a boot-starter-web…
Bernhard
  • 665
  • 1
  • 6
  • 22
5
votes
1 answer

org.springframework.cloud VS io.awspring.cloud

what is the difference between these maven group ids. I see few examples on internet using org.springframework.cloud and other using io.awspring.cloud Is one preferred over other ?
5
votes
1 answer

Spring Cloud with AWS Parameter Store

Is there any integration between Spring Cloud AWS or Spring Cloud Config with AWS Parameter Store? I just saw this issue: https://github.com/spring-cloud/spring-cloud-aws/issues/207 But nothing more.
5
votes
0 answers

Scheduler for sqs listener

I am using @sqslistener annotation based method to read from an aws queue. I have been successful in setting it up and all the various configurations are working as expected. Now what I am trying to achieve is that the sqslistener listen to the…
Somnath
  • 83
  • 6
5
votes
5 answers

SQSlistener not receiving messages

I am able to send messages to SQS queue from my springboot but not able to receive using sqslistener annotation, can someone help? public void send(String message) { queueMessagingTemplate.convertAndSend("test-queue",…
Bhargav
  • 697
  • 3
  • 11
  • 29
5
votes
0 answers

Why is the fixed resource name AWSEBRDSDatabase not available to my Elastic Beanstalk/Spring Cloud AWS application?

I have a Spring Boot application using Spring Cloud AWS. I'm deploying the application on Elastic Beanstalk with an Amazon RDS database. According to the documentation, Elastic Beanstalk provides fixed resource names for the AWS resources that it…
4
votes
0 answers

How to use spring-cloud spring-cloud-starter-aws-secrets-manager-config?

looking for some advice on using spring-cloud-starter-aws-secrets-manager-config 2.4.1 with spring-boot 2.6.8 . Been trying various things without success so any hits, advice or links to examples would be great. Added…
4
votes
3 answers

Is it possible to use Spring Cloud AWS for connecting to an on-premise S3 compatible storage?

Is it possible to use Spring Cloud AWS (Spring Cloud AWS Core / Spring Cloud AWS Context) to connect to S3 on-premise (such as Minio/SwiftStack) that support full S3 API? In short, the URL for S3 service needs to be framed within my application…
4
votes
2 answers

Listen message queue SQS with Spring Boot not works with standard config

I'm unable to make works queue listener with Spring Boot and SQS (the message is sent and appear in SQS ui) The @MessageMapping or @SqsListener not works Java: 11 Spring Boot: 2.1.7 Dependencie: spring-cloud-aws-messaging This is my config…
Maryo
  • 483
  • 2
  • 13
  • 25
1
2
3
11 12