John Wise created NIFI-8514:
-------------------------------

             Summary: Add EL support to DistributeLoad
                 Key: NIFI-8514
                 URL: https://issues.apache.org/jira/browse/NIFI-8514
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core UI
            Reporter: John Wise


We'd like to be able to feed a list of values to DistributeLoad and use EL to 
establish the "Number of Relationships" value from the count of list values.  
That would allow us to define a list of URL, hostnames, etc. in a preceding 
attribute, which DistributeLoad could then enumerate on its own, to dynamically 
establish the number of relationships.

For instance, when provided a list of URLs in an attribute named {{urlList}}, 
DistributeLoad could then determine the relationship count with 
{{${allDelineatedValues:(${urlList}, ","):count()}}}.  A subsequent 
UpdateAttribute processor could then extract the appropriate URL from the 
${urlList} with getDelimitedField, based on the number provided by 
DistributeLoad.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to