<?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: Apache Nifi - use of Notify and Wait with unknown amount of files in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296006#M218075</link>
    <description>&lt;P&gt;I created a new MapCacheService and changed the release condition back to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MelbarKasom_0-1589557626903.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27489iC6CB86AD6C0A88A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MelbarKasom_0-1589557626903.png" alt="MelbarKasom_0-1589557626903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;now it seems to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 15:47:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-05-15T15:47:19Z</dc:date>
    <item>
      <title>Apache Nifi - use of Notify and Wait with unknown amount of files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296004#M218074</link>
      <description>&lt;P&gt;I tried to find out on myself, but after days of trying I decided that I need help. My usecase is to concat splitted zip-files (FilaA.zip.001, 002, 003 - 00x) and&amp;nbsp; I don't really know how many files will be delivered.&amp;nbsp; The files&amp;nbsp; are big and delivery takes time... The last file&amp;nbsp; to be delivered is a notification-file "ready.txt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current workflow is like this:&lt;/P&gt;&lt;P&gt;- receive alle files&lt;/P&gt;&lt;P&gt;-extract&amp;nbsp; &amp;nbsp;number of zip-file&amp;nbsp; &amp;nbsp;(001-x) and build a priority (999-number of zip-file) of it&lt;/P&gt;&lt;P&gt;-move to a queue with a PriorityAttributePrioritizer&lt;/P&gt;&lt;P&gt;-extract max number of files (i.e. 7 from 007 - the file with priority 992)&lt;/P&gt;&lt;P&gt;-move files via&amp;nbsp; notify processer to the wait processor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MelbarKasom_0-1589556094961.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27487i0F088FA91138912F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MelbarKasom_0-1589556094961.png" alt="MelbarKasom_0-1589556094961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- in the wait processor I want to wait until the notfication-file&amp;nbsp; arrived and&amp;nbsp; deliver all the files in wait-queue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MelbarKasom_1-1589556254435.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27488i148DB72989C3C67C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MelbarKasom_1-1589556254435.png" alt="MelbarKasom_1-1589556254435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-after the the files will be concatenated&amp;nbsp; with the MergeContent processor and unzipped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My configuration works only one time.&amp;nbsp; ... The second delivery with exact the same filenames as in the first delivery is directly moved to "success" and not into the wait queue...&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am doing wrong ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 15:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296004#M218074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-05-15T15:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - use of Notify and Wait with unknown amount of files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296006#M218075</link>
      <description>&lt;P&gt;I created a new MapCacheService and changed the release condition back to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MelbarKasom_0-1589557626903.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27489iC6CB86AD6C0A88A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MelbarKasom_0-1589557626903.png" alt="MelbarKasom_0-1589557626903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;now it seems to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 15:47:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296006#M218075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-05-15T15:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - use of Notify and Wait with unknown amount of files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296305#M218179</link>
      <description>&lt;P&gt;I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 12:43:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-use-of-Notify-and-Wait-with-unknown-amount-of/m-p/296305#M218179</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2020-05-20T12:43:34Z</dc:date>
    </item>
  </channel>
</rss>

