[
https://issues.apache.org/jira/browse/NIFI-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988253#comment-14988253
]
Michael Moser commented on NIFI-1103:
-------------------------------------
For what it's worth, I'm not a fan of long polling in a NiFi processor. It
will consume a thread from the processor thread pool (timer driven or event
driven pools) without really using it. If implemented, I would make it an
option that has to be enabled by a processor property, with the default to not
long-poll. Make sure the user knows the consequences of turning on
long-polling.
> Add support for long polling in GetSQS processor
> ------------------------------------------------
>
> Key: NIFI-1103
> URL: https://issues.apache.org/jira/browse/NIFI-1103
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Adam Lamar
>
> The Amazon SQS API supports and recommends long polling to fetch items from
> the SQS queue. This should drastically reduce the number of requests made by
> the GetSQS processor, and will improve fetch latency in many situations.
> More information:
> http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)