Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
1
vote
1 answer

FileNotFoundException when adding 'spring-cloud-starter-aws' starter package to Spring Boot app

I have a well established Spring Boot server application. I am working through an article to configure Spring to send metrics to AWS Cloudwatch. I'm hitting a runtime exception when I include the starter package spring-cloud-starter-aws. Can…
1
vote
0 answers

How would you configure multiple configurations of Spring Cloud's SQS Message Listener Containers?

We have a use case wherein some of our listeners would need to have a different message executor thread count. Or rather some queue listeners would need to have less concurrent message processing than the other queue listeners. Upon studying the…
froi
  • 7,268
  • 5
  • 40
  • 78
1
vote
1 answer

Issue getting MessageAttributes in spring-cloud SNS/SQS listener

I am using spring-boot-1.5.10 and spring-cloud and using spring-cloud-starter-aws-messaging. I am able to send and receive the message but couldn't get the SNS message attributes. Any help would be really appreciable. Please find the code…
VelNaga
  • 3,593
  • 6
  • 48
  • 82
1
vote
1 answer

spring cloud aws annotation driven queue listener

I'm trying to write a web application that consumes AWS SQS using spring cloud AWS annotation-driven queue listener, here is how my code looks like: XML AWS Beans:
Zaid Direya
  • 611
  • 2
  • 8
  • 19
1
vote
0 answers

External configuration of Spring Cloud Function

I've been looking into solution wherein lambda function will use external configuration file from S3 on startup and make them available via placeholders ${} & Environment throughout the code base. I learned that s3://XYZ/test.yml works in Spring…
1
vote
1 answer

Spring Aws Kinesis Binder Acquiring and Releasing lock issues in Dynamo DB while consuming messages

Sometimes, when we are stopping the application abruptly exception occurs that unlocking has been failed. Then the same group will never gets the messages. Other groups are getting messages. I am using the aws kinesis binder snapshot version. This…
1
vote
1 answer

Missing AmazonS3Client Bean when upgrading SpringCloud Finchley to RELEASE

I recently upgraded my SpringCloud project from Brixton to Finchley and everything was working just fine. I was working on Finchley.SR2 and I had no problems, but whenever I upgrade my project to Finchley.RELEASE (and this is the only change I…
cavpollo
  • 4,071
  • 2
  • 40
  • 64
1
vote
2 answers

Using Spring Cloud Function with Spring Cloud AWS

I've been looking into Spring-Cloud-Function and Spring-Cloud-AWS recently and all of the capabilities that the Spring modules provide, however, one thing I'm not too clear on is really whether the two properly go together. I can see Spring Cloud…
1
vote
0 answers

Combining @SqsListener and @RequestMapping

We're currently in the middle of migrating our current architecture into Spring-AWS-based microservices. One of my tasks is to research on how our microservices communicate with one another. I'm aiming to set-up a hybrid system of RESTful HTTP…
1
vote
1 answer

Unable to consume messages as batch mode in Kinesis Binder

I am trying to consume messages from Kinesis stream as batch I am using compile('org.springframework.cloud:spring-cloud-starter-stream-kinesis:1.0.0.BUILD-SNAPSHOT') Application.yml spring: cloud: stream: bindings: input: …
Patan
  • 17,073
  • 36
  • 124
  • 198
1
vote
1 answer

Spring cloud aws stream, messages are consumed by multiple instances in consumer group

I have written a sample application with spring cloud aws binder compile('org.springframework.cloud:spring-cloud-starter-stream-kinesis:1.0.0.BUILD-SNAPSHOT') Code @StreamListener(Processor.INPUT) public void receive(Message message) { …
Patan
  • 17,073
  • 36
  • 124
  • 198
1
vote
1 answer

Spring integration binding with updated AWS Credentials

I'm using spring-cloud-stream API and a kinesis-binder to my application. I have to assume role as the credentials in ~/.aws/credentials file don't allow for accessing connection to the kinesis stream I am looking to connect. I am able to get…
1
vote
1 answer

Reading S3 Resource with SpringBatch's ItemReaders issue

I have a Spring Batch Job that reads a bunch of files from an S3 Bucket, process them and then send it to a database, doing this in a multi-threaded configuration. The application.properties file contains…
1
vote
1 answer

Spring Boot and Spring Cloud AWS Data source pool configuration

I have an application on EC2 instance that connect to RDS (MySQL), after 8 hours the DB connection gets closed from MySQL and when the application tries to read/write data I get the below Exception Servlet.service() for servlet [dispatcherServlet]…
Youssef Al Muhaidib
  • 363
  • 1
  • 5
  • 17
1
vote
0 answers

Error trying to send email using spring cloud aws (SES)

I'm trying to send emails using spring-cloud-aws. Bellow the relevant…
Weber O.
  • 11
  • 4