Open sioan1983 opened 6 years ago
Yea! I have also pondered how this should work. Also, based on the number of threads you set, this query would run X times. Not ideal. I was thinking of having a single thread polling sqs and have it wake up threads to do the processing of the events. I'll try and put something together.
Hello, would it be possible to add support for long polling or to have the Request Timeout configurable in the plugin interface ?
https://github.com/sherzberg/graylog-plugin-s3/blob/master/src/main/java/org/sherzberg/graylog/aws/inputs/s3/notifications/S3SQSClient.java#L28
I would like to use the "Receive Message Wait Time" option of aws sqs to reduce the number of empty requests.
Thank you, Stefan