Skip to content

How to control the frequency of poll requests and the number of SQS API calls #447

Discussion options

You must be logged in to vote

The option waitTimeSeconds configures the AWS SQS option.

More details on short and long polling here.

pollingWaitTimeMs configures how long the consumer should wait before triggering SQS again, after that polling has completed, which defaults to 0, but actually works out to that plus the waitTimeSeconds configured against SQS and the time it takes to actually process the messages.

updateOption can be used to programatically set both of these values.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nicholasgriffintn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants