Skip to content

Support for dynamically increasing visibility timeout for long-running message processing #320

@ambethell

Description

@ambethell

Hi,

Excellent work on this library - really looks to be a great improvement on the spring cloud SQS support.

With VisibilityExtender we're given hooks to extend the visibility timeout for the message being processed by that thread - do you think support to dynamically call extend() could be added into the library?

For instance - lets say I have a queue which has a default visibility timeout of 5 minutes - but certain messages may take up to an hour to process successfully. So I'd want to configure the listener of that queue to bump the visibility timeout on an interval for long-running threads- (up to a limit of an hour) - similar to what is being asked here : spring-attic/spring-cloud-aws#92 (comment).

👍

Thanks

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions