Skip to content

SQS Documentation: Incorrect Default Values #1202

Closed
@jmrah

Description

@jmrah

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:

  1. Under the Using Autoconfiguration subsection, it isn't obvious that the spring.cloud.aws.sqs.listener.poll-timeout property 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).
  2. Under the SqsContainerOptions Description subsection, there are two incorrectly documented default values:
    2.1 listenerShutdownTimeout is documented with a default value of 10s, but is really 20s.
    2.2 acknowledgementShutdownTimeout is 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: sqsSQS integration related issuetype: documentationDocumentation or Samples related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions