[ 
https://issues.apache.org/jira/browse/NIFI-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-1932.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> AWS Processors Connection Pool issues
> -------------------------------------
>
>                 Key: NIFI-1932
>                 URL: https://issues.apache.org/jira/browse/NIFI-1932
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.0.0, 0.7.0, 0.6.1
>            Reporter: Dave Torok
>            Priority: Minor
>
> We have run into HTTP connection pool race conditions when using the 
> GetDynamoDB processors under continuous load.  This issue is that the pool is 
> set to the max concurrent threads, and it is likely that the HTTP connection 
> is not returned to the pool in time for the next processor thread to grab it.
> AbstractAWSProcessor.java  (lines 175-177)
>   protected ClientConfiguration createConfiguration(final ProcessContext 
> context) {
>         final ClientConfiguration config = new ClientConfiguration();
>         config.setMaxConnections(context.getMaxConcurrentTasks());
> We have locally fixed it by adding extra connections, but don't know whether 
> 1, 2, 5, 10 is sufficient to avoid the issue completely:
> FIX:
> config.setMaxConnections(context.getMaxConcurrentTasks() + SOMEINT);



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to