-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
component: sqsSQS integration related issueSQS integration related issuetype: documentationDocumentation or Samples related issueDocumentation or Samples related issue
Description
Type: Bug
Component: SQS Documentation
Describe the bug
Spring Boot: v3.3.3
Spring Cloud: v3.0.0
In the short 8.3.7 section of the current SQS documentation, the documentation for three properties should be amended:
- Under the Using Autoconfiguration subsection, it isn't obvious that the
spring.cloud.aws.sqs.listener.poll-timeoutproperty needs to be specified in milliseconds, especially when the documented default is listed in seconds. It would be helpful if the property description mentioned the expected unit of time (ms). - Under the SqsContainerOptions Description subsection, there are two incorrectly documented default values:
2.1listenerShutdownTimeoutis documented with a default value of 10s, but is really 20s.
2.2acknowledgementShutdownTimeoutis documented with a default value of 10s, but is really 20s.
Sample I've created a minimal example located at https://github.com/jmrah/spring-cloud-aws-sqs-test. You can clone the repo, and run the tests, which assert on the correct values as they should be, and not how they are documented as being. Additionally, you can attach a debugger to the tests and use your IDE to inspect the container options.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: sqsSQS integration related issueSQS integration related issuetype: documentationDocumentation or Samples related issueDocumentation or Samples related issue