Why does SqsContainerOptions.pollTimeout have a max value of 10s, when according to AWS docs this can be up to 20s? #1279
Unanswered
bmcswee-bill
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@bmcswee-bill If we did not specify any value then the default of 10 sec is used. But at the same time they have not enforced any polling time limit. And I think they need to enforce it in future. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @bmcswee-bill and @shreyas957, yup, that's a mistake. Can you please open a couple of issues for fixing the docs and for enforcing the limits? PRs are welcome! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the Spring Cloud AWS docs here,
pollTimeout
has a max value of 10s.According to the AWS docs here, polling can be configured to wait for up to 20s.
Why the difference? Also, it appears the Spring Cloud AWS does not actually enforce a maximum value on the config option, and there's no mention of a maximum in the Javadocs - only in the HTML docs linked. This leaves me wondering if this is a mistake in the docs.
Beta Was this translation helpful? Give feedback.
All reactions