Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
0
votes
1 answer

running graals native spring cloud function example

I am trying to run the aws function sample in spring-graals, the 'java' version works fine but when I test the 'native' version, I see the following error in the console. Exception in thread "main" java.lang.IllegalArgumentException: Cannot…
0
votes
1 answer

Spring boot not compiling

I am trying to compile the project https://github.com/spring-cloud/spring-cloud-aws but the parent project has references to flatten-maven-plugin thus i am getting the error. If this plugin is public i am not sure why i am getting the error as…
R-JANA
  • 1,138
  • 2
  • 14
  • 30
0
votes
1 answer

How to stop spring cloud AWS secrets manager trying to load profile based secrets

I'm using spring cloud AWS secrets manager support to load in configuration defined by terraform which creates the application secret defaults. Once adding a policy statement to the services accessing the secret I run into spring not starting as…
Brett Ryan
  • 26,937
  • 30
  • 128
  • 163
0
votes
1 answer

Use spring-cloud-aws-autoconfigure without access key and secret key, but assume role?

We have a spring cloud function deployed on AWS lambda. How can we get spring-cloud-aws-autoconfigure to work without access key and secret key, assuming the keys set by the lambda execution role instead? If we use the autoconfigure, it always…
0
votes
1 answer

Spring Boot - Spring Cloud AWS : region not found

I have a Spring Boot, Spring Cloud AWS service, written to receive messages from an AWS SQS queue. Everything has been working fine within my own personal AWS account services with region set to "us-east-1", but when switching over to AWS GovCloud…
user3175414
  • 173
  • 1
  • 7
0
votes
1 answer

Using AmazonSQSExtendedClient with AmazonSQSAsync

So the way I understand it is that through using AmazonSQSExtendedClient, the payloads that are over 256kb will get stored into a temp bucket (see the guide here). I'm having a bit of trouble implementing this with AmazonSQSAsync. Because of the way…
0
votes
1 answer

Disable spring-cloud-aws-secrets-manager-config module for some Spring profile

Is it possible to disable spring-cloud-aws-secrets-manager-config module for some Spring profile ? I'm looking for a way to disable it while testing locally.
0
votes
1 answer

Error creating bean with name 'amazonS3Client': Requested bean is currently in creation: Is there an unresolvable circular reference?

everything started because Spring Cloud AWS does not configure the SimpleStorageProtocolResolver correctly. This class is responsible for handling s3:// protocol while using a ResourceLoader. See issue for further details: cannot be cast to…
Felipe Desiderati
  • 2,414
  • 3
  • 24
  • 42
0
votes
1 answer

Spring Boot AWS cloudwatch and S3 conflict (?) question

Problem Statement AWS 'Fargate' application works fine with aws actuator but fails to start when adding s3 support Details I have an application running on AWS Fargate, it is using spring-cloud-aws-actuator & spring-cloud-starter-aws packages. The…
Jim M.
  • 909
  • 1
  • 12
  • 29
0
votes
2 answers

Configuring mail sender using Java configuration in Spring Cloud AWS

I want to send emails using Amazon SES, Spring Cloud AWS and Spring Boot 2.1.5. In the documentation, it provides XML to configure the mail sender. Is there any way to use Java config instead of XML?
Swordfish
  • 1,127
  • 24
  • 46
0
votes
1 answer

Understanding SqsMessageDrivenChannelAdapter behaviour

I'm trying to understand the behavior of SqsMessageDrivenChannelAdapter to address memory issue. The upstream system dumps thousands of messages in aws-sqs-queue, all of the messages are received immediately by SqsMessageDrivenChannelAdapter. On…
0
votes
1 answer

Kinesis Binder Default Read capacity and write capacity on dynamo db tables

As per the documentation in Spring Aws Kinesis Binder, the default values for readCapacity and writeCapacity are 1…
0
votes
1 answer

IdleBetween pools not pulling Messages as specified

I am consuming messages in batch mode. I wanted to pull 8 messages each 250 ms from stream. spring: cloud: stream: kinesis: bindings: input: consumer: listenerMode: batch …
Patan
  • 17,073
  • 36
  • 124
  • 198
0
votes
1 answer

Spring Kinesis Binder filling the Heap space quickly leading to frequent GC flush and is slowing down message process

My application is consuming from one stream and then pushing the messages on three streams Binder: public interface MyBinder { @Input("input1") SubscribableChannel input1(); @Output("output1") MessageChannel output1(); …
Patan
  • 17,073
  • 36
  • 124
  • 198
0
votes
1 answer

No records for on kinesis stream suspending messages for 1 sec

I am using spring kinesis binder for consuming messages in batch mode Some times I am not able to consume the messages from streams. This is not happening all the time No records for…
1 2 3
11
12