Questions related to integrating with the Spring Cloud AWS libraries
Questions tagged [spring-cloud-aws]
176 questions
1
vote
1 answer
How cloud spring boot uses properties in yml file
When using Spring Cloud AWS for a repo, I noticed application.yml contains
spring:
profiles: aws
cloud:
config:
enabled: false
aws:
paramstore:
prefix: /micro
name: microapp
profileSeparator: #
enabled: true
But I…

landau
- 41
- 1
- 6
1
vote
0 answers
SimpleMessageListenerContainer still picks up a message after calling stop
I have an AWS SQS Queue with no retry (MaxReceiveCount is set 1). I have setup a DeadLetter Queue for the same.
I am using spring-cloud-aws-messaging, below is my listener class
@Component
public class MyListener implements ProcessingFinaliser {
…

Tushar Patel
- 11
- 2
1
vote
0 answers
Is there an annotation similar to @SqsListener for SNS sending that initialises an executorservice and sets up multithreaded message sending?
I am sending SNS messages from one spring boot app to another via a SQS queue. The listener is multi threaded by default as I can see the messages being read across multiple threads.
To send the SNS message I am using the '''…

James Gustard
- 11
- 1
1
vote
1 answer
DynamoDB unlock errors during application stop when spring kinesis binder tries to release lock
When the application stops, kinesis binder tries to unlock dynamoDB and throws unlock failed exception.
I followed this original post with the similar issue and updated spring-integration-aws version to v2.3.1.RELEASE. But still seeing the same…

SindhuN
- 13
- 3
1
vote
1 answer
Amazon SQS Listener - Consuming message and setting attributes before failing the message
I've a fifo queue, and i'm using org.springframework.cloud.aws.messaging and here's what i'd like to do:
Consume the message
Try to handle it (inner logic)
If handles fails - write new attribute on the message (without sending the message again…

razrog
- 41
- 6
1
vote
1 answer
How to Poll for a specific number of messages using Amazon SQS Springn cloud annotation @SqsListener
Need: to poll/listen 10 messages at a time(Specific count not based on polling time)
Existing code base using spring cloud aws messaging polls based on time by default.
now required to poll based on the counts of messages.
Looking for a…

rolling stone
- 543
- 1
- 8
- 26
1
vote
1 answer
AWS Secrets Manager and springboot
I am trying to use AWS Secrets Manager to store secrets for a springboot microservice. I was able to configure everything and I can see that on startup the application is loading the secret that in my case is a json document. In particular I am…

filmac
- 177
- 2
- 15
1
vote
1 answer
Migrate SqsConsumer from spring-coud-aws-messaging to spring-integration-aws
I want to use spring-integration-aws to send messages to AWS SNS and to receive messages from AWS SQS. I am having some troubles understanding how to migrate my application from spring-coud-aws-messaging to use it. My code is basically a SQS config…

aolhobeer
- 11
- 1
1
vote
1 answer
My SQSListener returns body as messageID, And How do I get send MessageId with QueueMessagingTemplate Spring Boot?
I have 2 issues regarding Spring AWS-SQS sdk, (Or maybe I am doing it wrong).
First is that I used CLI earlier and I managed to get the message Id of the sent message example:
aws sqs send-message --queue-url…

IsaacK
- 1,178
- 1
- 19
- 49
1
vote
0 answers
Use instance meta data to configure spring cloud config so the IAM role can be used to clone from CodeCommit
I am trying to run a spring cloud config application inside a docker container spawned by ECS. I am having issues correctly setting this up so that the meta data is used to clone the git repo from CodeCommit
I have the following settings
pom.xml…

Jente Van Heuverswyn
- 23
- 4
1
vote
1 answer
Polling thread behaviour in Spring cloud aws
I have small doubt regarding how polling thread behaves.
Let us take a scenario where i have maxNumberOfMessages to be received per poll is 10. And We are using DEFAULT_WAIT_TIME = 20 seconds. I want to know how it behaves in different scenarios…

Shiva Peddi
- 11
- 2
1
vote
0 answers
Provision custom-named SQS Queue with PCF Service Broker
I'm trying to create a new queue, but when using
cf create-service aws-sqs standard my-q
the name of the queue in AWS is automatically assigned and is just an id composed of random letters and numbers.
This is fine when using the normal java…

redwulf
- 1,317
- 3
- 13
- 35
1
vote
1 answer
Spring Aws Kinesis Messages are not consumed in order
I am pushing 100 messages on to stream with 1 shrad.
spring:
cloud:
stream:
bindings:
myOutBound:
destination: my-stream
contentType: application/json
I am pushing messages in loop for testing…

Patan
- 17,073
- 36
- 124
- 198
1
vote
1 answer
Spring Cloud Aws kinesis Binder load balancing
I was trying to implement the load balancing for Aws kinesis stream consumers
As per documentation I am trying to implement
spring:
cloud:
stream:
instanceIndex: 1
instanceCount: 3
bindings:
RollUpInboundStream:
…

Patan
- 17,073
- 36
- 124
- 198
1
vote
1 answer
Spring Cloud Aws kinesis Binder All JVMs in group consume same message at different intervals
We have three containers connecting to Kinesis stream as consumers using Spring cloud AWS kinesis binder.
We have used consumer groups for load balancing across three containers. The requirement is that containers share the load and it shall be…

Patan
- 17,073
- 36
- 124
- 198