[ 
https://issues.apache.org/jira/browse/NIFI-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003561#comment-15003561
 ] 

ASF GitHub Bot commented on NIFI-1103:
--------------------------------------

GitHub user adamonduty opened a pull request:

    https://github.com/apache/nifi/pull/122

    NIFI-1103: Add support for long polling in GetSQS processor

    This adds long polling support to the GetSQS processor.
    
    By default, it sets the Receive Message Wait Time to zero, which is the 
same as the current behavior. Setting the Receive Message Wait Time to 1 second 
or greater causes the request to long poll for that period of time before 
returning.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/adamonduty/nifi NIFI-1103

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/122.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #122
    
----
commit 428b20fc2553ac6ae56867630fa10bd3ac355582
Author: Adam Lamar <[email protected]>
Date:   2015-11-13T05:03:36Z

    NIFI-1103: Add support for long polling in GetSQS processor

----


> 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)

Reply via email to