198 questions
0
votes
0
answers
119
views
Spring Boot app using AWS Parameter Store does not reflect updated values even after container restart (requires redeployment)
I have a Spring Boot application running in a container.
I configured AWS Parameter Store integration using:
/application/env/version/1.0/SPRING_CONFIG_IMPORT = aws:parameterstore:/application/env/...
1
vote
1
answer
168
views
Spring Boot AWS Secrets Manager keys not loaded despite correct config/imports
I'm trying to import secrets from AWS Secrets Manager into my Spring Boot application hosted on an ECS container using spring.config.import in application.yml.
However, I'm getting the following error:...
0
votes
0
answers
81
views
Overriding the AWS SDK v2 when using Spring Cloud AWS - documentation appears to be incorrect
The documentation available here states that to override the AWS SDK V2, the following must be included before any other BOM dependency that configures AWS SDK dependencies.
<dependencyManagement&...
0
votes
1
answer
612
views
Problems loading Spring Cloud Secrets Manager
I've added the following to my Gradle project to load Spring's AWS Secret Manager features:
plugins {
id 'org.springframework.boot' version '3.4.3'
id 'io.spring.dependency-management' version ...
0
votes
2
answers
441
views
Test Springboot + SQS + Localstack throws exceptions
I have an application with Springboot and AWS Cloud SQS and I want to test it using Localstack.
All my tests run with a green status successfully, but my terminal is full of errors. The errors are as ...
1
vote
1
answer
237
views
AWS SQS and Spring pollTimeoutSeconds difference
I hava been reading about using pollTimeoutSeconds in @SqsListener from Spring Cloud AWS.
Look at this configuration:
@SqsListener(value = "my-queue", pollTimeoutSeconds = "10", ...
0
votes
1
answer
60
views
Should I use ExecutorChannel for better performance when I use SqsMessageDrivenChannelAdapter?
My application reads messages from AWS SQS and processes them. Here is the configuration for the sqs adapter:
@Configuration
@Slf4j
public class ApplicationConfig {
@Bean
public ...
1
vote
1
answer
241
views
PayloadTypeHeader configuration in Spring cloud AWS SQS
I have inheritted an application where two services(serviceA & serviceB) communicate using SQS. They use a payload-wrapper class as the message payload. However, instead of using a common ...
1
vote
1
answer
788
views
How to Exclude AWS auto config classes in spring boot 3.3.0?
I got this exception while running a spring boot application locally, I started getting this exception when I upgraded spring boot version to 3.3.0:
Error:
The following classes could not be excluded ...
1
vote
0
answers
79
views
AwsParameterStoreEnvironmentRepositoryFactory bean is not available after updating to Spring boot 3.3.1
Recently I have updated the Spring boot 3.3.1 from Spring boot 2.7.18. Using my application I am trying to fetch some data storeed in AWS but just after updating I am getting below exception.
'org....
0
votes
0
answers
361
views
Spring library compatibility confusion
According to the release train available here, it appears that I should be able to use Spring Boot 3.3.1 with Spring Cloud 2023.0.2. In addition to these, I am also trying to use Spring Cloud AWS v3.2....
0
votes
0
answers
669
views
How to configure client side Spring Cloud Config backed with AWS Parameter Store
I am trying to load configurations from AWS Parameter Store ("/application/foo") so that I can dynamically set the configurations at runtime. I've used Spring Cloud Config Consul prior but ...
0
votes
1
answer
357
views
Java class for AWS S3 to SQS Event in the SDK
I wonder if there are any ready-to-use java classes in the aws-sdk or spring-cloud-aws for standard SQS events like S3 "ObjectCreated:Put" or if I need to create them on my own.
I didn't ...
1
vote
1
answer
213
views
Does support for Amazon ElastiCache for Redis exist in Spring Cloud AWS anymore?
We have upgraded to io.awspring.cloud:spring-cloud-aws-dependencies:3.1.0, and I no longer see code for integration with Amazon ElastiCache for Redis as detailed in documents like this one and this ...
2
votes
0
answers
1k
views
How can I disable Spring Cloud AWS auto-configuration to prevent automatic pickup of AWS credentials?
How can I prevent Spring Cloud AWS from automatically picking up AWS credentials from the default credentials file (~/.aws/credentials) when the application is executed by others on their computers, ...