Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8514

Add EL support to DistributeLoad

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Core UI
    • None

    Description

      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 those 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 ${urlList} with getDelimitedField, based on the relationship number provided by DistributeLoad.

      Attachments

        Activity

          People

            Unassigned Unassigned
            john.wise John Wise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: