logstash-plugins / logstash-input-sqs

Apache License 2.0
16 stars 40 forks source link

Add wait_time_seconds receive option #12

Closed JonathanSerafini closed 9 years ago

JonathanSerafini commented 9 years ago

This PR adds a default long polling timeout to 10 seconds as well as a configurable option of wait_time_seconds so that the value can be configured.

Although not strictly required to function, given that this configuration item could also be done on the SQS queue itself, it may be a good idea to include it in the plugin given the frequency of "sqs input takes too much CPU" questions one finds on the webs.

ph commented 9 years ago

Thank you for the pull request! But I wont be able to merge it. I did a refactor of the plugin to use v2 of the api and did not see this PR, really sorry :(

18 added a polling_frequency option that allow people to change it, the default value is 20 seconds which is the default of the QueuePoller class.