-
-
Notifications
You must be signed in to change notification settings - Fork 353
Open
Labels
component: sqsSQS integration related issueSQS integration related issuestatus: ideal-for-contributionWe agree it's nice to have but it is not team priorityWe agree it's nice to have but it is not team prioritytype: enhancementSmaller enhancement in existing integrationSmaller enhancement in existing integration
Milestone
Description
Type: Bug
Component:
SQS
Describe the bug
I'm unsure if this is intended but thought I'd raise it just in case. when using spring.main.lazy-initialization=true our listeners marked with @SqsListener don't get registered unless marked with @Lazy(false). It's not a huge issue but SQS is one of the main reasons for slow service start times and isn't necessary immediately in this service.
Versions:
spring-boot: 3.0.4
spring-cloud-dependencies: 2022.0.1
spring-cloud-aws-dependencies: 3.0.0-RC1
Sample
I can provide a smallest possible reproduction if needed, but it was essentially an empty project with spring boot 3 web + cloud + messaging + sqs
Metadata
Metadata
Assignees
Labels
component: sqsSQS integration related issueSQS integration related issuestatus: ideal-for-contributionWe agree it's nice to have but it is not team priorityWe agree it's nice to have but it is not team prioritytype: enhancementSmaller enhancement in existing integrationSmaller enhancement in existing integration