Re: GetSQS causes high CPU usage

2015-11-03 Thread Joe Witt
Adam, Just wanted to follow up on this. Have you had any better results and should we put a JIRA in behind what you're seeing? Thanks Joe On Tue, Oct 20, 2015 at 7:58 PM, Adam Lamar wrote: > Adam, > > Thanks for the reply! > > Amazon supports (and recommends) long

Re: GetSQS causes high CPU usage

2015-11-03 Thread Adam Lamar
Hey Joe, I think there are two possible JIRAs. 1) Add long polling support using setWaitTimeSeconds() - should be really easy. I can take a crack at a pull request. Here's a JIRA: https://issues.apache.org/jira/browse/NIFI-1103 2) Investigate the high CPU usage. I saw this initially for

Re: GetSQS causes high CPU usage

2015-10-20 Thread Adam Lamar
Adam, Thanks for the reply! Amazon supports (and recommends) long polling on SQS queues[1]. The GetSQS code doesn't attempt long polling at all, but I wasn't sure if this was intentional or if the option had just never been added. With a 20 second long poll, the processor would make 3