Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
1
vote
2 answers

spring cloud AWS SQS Listener Issue

I am preparing demo programme which listen from the Amazon SQS.Below is my code. xml config
jenitshah
  • 131
  • 2
  • 10
1
vote
1 answer

Elasticache using spring aws cloud

I am looking to implement ElastiCache(using memcached) for my spring application. From here I can see that this can be done using spring cloud aws, but I could not find proper steps for doing this anywhere. Can anyone please provide some example…
rohit
  • 953
  • 5
  • 15
  • 31
1
vote
1 answer

How to override SqsConfiguration to return custom implementation of SimpleMessageListenerContainer

In our Spring boot application we use Spring Cloud AWS: spring-cloud-starter-aws spring-cloud-aws-autoconfigure spring-cloud-aws-messaging to receive messages from a SQS queue. However we need to be able to start the application even if the queue…
1
vote
1 answer

Message attributes on spring-integration-aws flows cause SQS messages to loop, where's the best place to filter them?

So, I created a couple of short flows, using SQS as the backing store between processing segments. The basic flow is: RestController -> SQS Queue1 OCA SQS Queue1 MDCA -> Service-Adapter -> SQS Queue2 OCA SQS Queue2 MDCA -> Service…
MikeG
  • 23
  • 3
1
vote
1 answer

Amazon SQS Outbound channel adapter won't initialize

I'm trying to start up a spring-int-aws flow that is writing to an SQS queue, but the context won't load. Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2016-10-03…
MikeG
  • 23
  • 3
1
vote
2 answers

Using spring-cloud-starter-aws outside of AWS

I am trying to use spring-cloud-starter-aws for one purpose - so that my ec2 instance can access its elasticache node using the logical name instead of the physical name. My issue is that I want to run this binary in a local context without AWS (not…
1
vote
1 answer

spring-integration-aws: SqsMessageDrivenChannelAdapter threads waiting for each other when calling stop()

I was trying to stop the SqsMessageDrivenChannelAdapter when calling stop() I was receiving the following error: java.util.concurrent.TimeoutException: null at java.util.concurrent.FutureTask.get(FutureTask.java:205) at…
1
vote
1 answer

spring-cloud-aws error No database type found for engine:'aurora'

I have a spring boot application that I am trying to connect to RDS instance (MySQL). Here is my App @SpringBootApplication @EnableRdsInstance(databaseName="*****", dbInstanceIdentifier="****",…
brain storm
  • 30,124
  • 69
  • 225
  • 393
0
votes
0 answers

Spring Cloud AWS creates too many Metrics in AWS Cloudwatch by default and therefore generates costs even with Free Tier?

Currently I am developing an web application with Spring Boot and I wanted to integrate AWS to collect logs and metrics in AWS Cloudwatch, so that I get informed, if there is e.g. an ERROR-alarm or resources run short. I found the Spring Cloud AWS…
0
votes
0 answers

Spring Cloud AWS 3.x and Parameter Store Integration

Is integration between Spring Cloud applications and AWS Parameter Store the same with Spring Cloud AWS 3.x as it has been in the past (as previously outlined here)? I am trying to map Parameter Store properties into the following…
Keith Bennett
  • 733
  • 11
  • 25
0
votes
0 answers

Unable to send message to SQS FIFO queue

I am trying to send a message to the FIFO SQS queue using the below code snippet: Message message = MessageBuilder.withPayload("1234") .setHeader("message-group-id", "1") .setHeader("message-deduplication-id", "1") …
Joy
  • 4,197
  • 14
  • 61
  • 131
0
votes
0 answers

Migrating spring-cloud-aws-messaging to new Spring

I need to migrate spring-cloud-aws-messaging to another compatible lib with new Spring Version. Because the last version of spring-cloud-aws-messaging has javax.servlet » javax.servlet-api as Provided Dependencies (1), and the new Spring Version…
0
votes
0 answers

Scale @SqsListener from spring-cloud-aws 3.0.0

Trying to consume from SQS as fast and reliable as possible using the @SqsListener annotation. Here is my code: @SqsListener(value = "${sqs-url}", maxConcurrentMessages = "${maxConcurrentMessages:30}", maxMessagesPerPoll =…
la00
  • 119
  • 10
0
votes
0 answers

spring-cloud-aws sqslistener stops listen after a period and release notes

I am having a problem where @sqsListener stops listen to new sqs message after some time (between a week to two weeks). There are not error in the log and no information that provide any clearance for why this happen. I saw that springboot 2.7.10…
Andrey Dobrikov
  • 457
  • 4
  • 20
0
votes
1 answer

When will Spring Cloud AWS 3.0.0 be released?

When is the planned release date for Spring Cloud AWS 3.0.0? I checked https://calendar.spring.io/ and do not see a planned release date published there. We are migrating our microservices to use Spring Boot 3.0.0, Spring Cloud 2022.0.1, and Spring…