<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Can a  NIFI Processor Property be an array in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218766#M84289</link>
    <description>&lt;P&gt;Thank you very much. I'll try these this week. Great detail in your response.. appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 19:48:23 GMT</pubDate>
    <dc:creator>dave_sargrad</dc:creator>
    <dc:date>2018-10-15T19:48:23Z</dc:date>
    <item>
      <title>Can a  NIFI Processor Property be an array</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218764#M84287</link>
      <description>&lt;P&gt;I've got a set of files to upload. I'd like to define this set as an array of URLS. What is the easiest way to define a set of strings, that will be the input to a processor flow that must process each of the strings individually? Can I create this array as a property, and then loop through that array? Alternatively should I place the set of URLS (strings) into a file that I load and then process the content one string at a time?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:48:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218764#M84287</guid>
      <dc:creator>dave_sargrad</dc:creator>
      <dc:date>2022-09-16T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can a  NIFI Processor Property be an array</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218765#M84288</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/98166/davesargrad.html" nodeid="98166"&gt;@David Sargrad&lt;/A&gt;&lt;P&gt;Both ways are possible and the &lt;STRONG&gt;easiest way&lt;/STRONG&gt; would be&lt;STRONG&gt; using file&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Approach1:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you want to work with arrays then refer to &lt;A href="https://community.hortonworks.com/articles/189537/delete-row-keys-using-deletehbaserow-processor-in.html" target="_blank"&gt;this&lt;/A&gt; link section 2.2 to loop through array and process one string at a time.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Approach2:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can also keep all url's in a file with new line as row delimiter then use Split Text processor(split one line each) and Extract text processor to extract the content as attribute and use the attribute value to make the call.&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://community.hortonworks.com/questions/154132/how-can-i-dynamically-pass-the-url-from-file-to-in.html" target="_blank"&gt;this&lt;/A&gt; and &lt;A href="https://community.hortonworks.com/articles/191080/trigger-basedserial-data-processing-in-nifi.html" target="_blank"&gt;this&lt;/A&gt; link for more details regards to second approach and serial data processing using NiFi.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 03:01:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218765#M84288</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-10-13T03:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can a  NIFI Processor Property be an array</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218766#M84289</link>
      <description>&lt;P&gt;Thank you very much. I'll try these this week. Great detail in your response.. appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 19:48:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-a-NIFI-Processor-Property-be-an-array/m-p/218766#M84289</guid>
      <dc:creator>dave_sargrad</dc:creator>
      <dc:date>2018-10-15T19:48:23Z</dc:date>
    </item>
  </channel>
</rss>

