Questions tagged [spring-cloud-aws]

Questions related to integrating with the Spring Cloud AWS libraries

176 questions
1
vote
0 answers

Spring Cloud AWS unable to load AWS AccessKey and Secret Key

All, I am trying to use secrets manager in Spring Boot and Spring Cloud AWS. Here is my application.yml: cloud: aws: stack: auto: false credentials: accessKey: ${aws_access_key} secretKey: ${aws_secret_key} …
1
vote
0 answers

Getting PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException When running docker app using springboot and aws

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleMessageListenerContainer' defined in class path resource [org/springframework/cloud/aws/messaging/config/annotation/SqsConfiguration.class]: Invocation of…
Arunkumar
  • 21
  • 2
1
vote
0 answers

Spring Cloud AWS messaging with a circuit breaker

I would like some pointers/guide in how to configure a circuit breaker when working with "Spring Cloud AWS messaging" with an annotation driven approach: I'm using spring cloud AWS to work with an SQS and I wan't to use the "SqsListener"…
1
vote
2 answers

Spring Cloud AWS's AwsSecretsManagerBootstrapConfiguration is not getting processed

For some reason, AwsSecretsManagerBootstrapConfiguration is not getting processed in my application. Here are the annotations on AwsSecretsManagerBootstrapConfiguration: @Configuration(proxyBeanMethods =…
Behrang
  • 46,888
  • 25
  • 118
  • 160
1
vote
1 answer

How to import existing proprties of a Spring Boot application to AWS Systems Manager Parameter Store?

When you want to migrate an existing Spring Boot application to AWS Systems Manager Parameter Store, is there a way to import all existing properties from the application's config file (application.yml) to AWS Systems Manager Parameter Store…
1
vote
0 answers

Use spring-cloud-aws-message without credentials to confirm a SNS subscription

I'm using spring-cloud-aws-messaging to be able to easily confirm SNS topic subscription and receive notification through an HTTPS endpoint in my service. @NotificationSubscriptionMapping public void confirmSubscription(final NotificationStatus…
1
vote
1 answer

SpringCloud AWS - SQSListener annotated method not receiving messages

I am writing an SQS publisher/consumer application using Spring Cloud AWS 2.3.2 io.awspring.cloud spring-cloud-aws-messaging 2.3.2 I have…
1
vote
1 answer

How to invoke a function running in the cloud with spring

Does Spring offer some abstraction to invoke an arbitrary cloud function (for example and AWS lambda function) ? It seems to me this could be the job of spring-cloud-function, but it looks (maybe I'm mistaken) as if this project concentrates more…
1
vote
2 answers

Dynamically modify SQS queue to an @SqsListener method at runtime?

@SqsListener(value = "foo", deletionPolicy = SqsMessageDeletionPolicy.ON_SUCCESS) public void fooMethod(final String message) { processEvents(message); } I am using spring-cloud-starter-aws-messaging - @SqsListener in my app which…
1
vote
1 answer

Latency on publishing to SNS Topic/SQS Subscription?

We are currently implementing a distributed Spring Boot microservice architecture on Amazon's AWS, where we use SNS/SQS as our messaging system: Events are published by a Spring Boot service to an SNS FIFO topic using Spring Cloud AWS. The topic…
1
vote
0 answers

Can the Spring Cloud AWS SQS ON_SUCCESS deletion policy create an infinite loop? Or does i t have retries?

I want to retry failed messages in my Spring Cloud SQS listener with something like: @SqsListener(value = [QUEUE_NAME], deletionPolicy = ON_SUCCESS) fun read(message: MyEvent) { But I am worried that if one specific event causes a deterministic…
borjab
  • 11,149
  • 6
  • 71
  • 98
1
vote
0 answers

SimpleStorageResource doesn't support virtual host style urls for S3

Does SimpleStorageResource support virtual host style urls?
Sagar
  • 5,315
  • 6
  • 37
  • 66
1
vote
2 answers

Specific cloud provider libraries no longer in spring-cloud-dependencies

I was trying to migrate my spring boot project from spring boot 2.3 to 2.5 and spring cloud accordingly Hoxton to 2020.0.X and I noticed that the cloud provider specific libraries have been removed. [ERROR] 'dependencies.dependency.version' for…
Xavier Bouclet
  • 922
  • 2
  • 10
  • 23
1
vote
1 answer

Fetch multiple secrets using spring-cloud-aws-secrets-manager-config module

I am integrating the spring-cloud-aws-secrets-manager-config module with my SpringBoot application to fetch secrets from AWS Secrets Manager. I have following two secrets in AWS Secrets Manager. /myapp/dbcredentials /myapp/apikey Now, with…