Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Set the default queueStopTimeout to >20 secs #507

Closed
madrian opened this issue Nov 11, 2019 · 0 comments
Closed

Set the default queueStopTimeout to >20 secs #507

madrian opened this issue Nov 11, 2019 · 0 comments
Labels
component: sqs SQS integration related issue type: enhancement A general enhancement
Milestone

Comments

@madrian
Copy link

madrian commented Nov 11, 2019

This will ensure all polls to queues even the long polling ones can be closed gracefully before the shutdown times out and prevents the TimeoutException to be encountered quite frequently like in Spring Boot.

https://stackoverflow.com/questions/58601625/prevent-spring-cloud-aws-messaging-from-trying-to-stop-the-queue

This doesn't mean either that all shutdowns will take >20 secs since the queues maybe short polling or already on their end of the poll when the shutdown is triggered.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 11, 2019
@maciejwalkowiak maciejwalkowiak added component: sqs SQS integration related issue type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels May 29, 2020
@maciejwalkowiak maciejwalkowiak added this to the 2.3 milestone May 29, 2020
maciejwalkowiak pushed a commit to maciejwalkowiak/spring-cloud-aws that referenced this issue Oct 15, 2020
* Allow queueStopTimeout can be configurable via SimpleMessageListenerContainerFactory
* Increase queueStopTimeout default value in milliseconds to be equal to waitTimeOut

Fixes spring-atticgh-504
Fixes spring-atticgh-507
Closes spring-atticgh-620
maciejwalkowiak pushed a commit to maciejwalkowiak/spring-cloud-aws that referenced this issue Oct 15, 2020
* Allow queueStopTimeout can be configurable via SimpleMessageListenerContainerFactory
* Increase queueStopTimeout default value in milliseconds to be equal to waitTimeOut

Fixes spring-attic#504
Fixes spring-attic#507
Closes spring-attic#620
juho9000 pushed a commit to juho9000/spring-cloud-aws that referenced this issue Apr 29, 2021
* Allow queueStopTimeout can be configurable via SimpleMessageListenerContainerFactory
* Increase queueStopTimeout default value in milliseconds to be equal to waitTimeOut

Fixes spring-attic/spring-cloud-aws#504
Fixes spring-attic/spring-cloud-aws#507
Closes spring-attic/spring-cloud-aws#620
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: sqs SQS integration related issue type: enhancement A general enhancement
Development

No branches or pull requests

3 participants