<?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 nifi process one flow file at the time in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179400#M73049</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a listDataBaseTables which gives be 256 flowfiles. In my flow there is a lot of processing going on and i need to process one at the time. &lt;/P&gt;&lt;P&gt;Is it possible to trigger a processor only to continue when the flowfile before reach a certain processor, otherwise is it possible &lt;/P&gt;&lt;P&gt;to get a processor to continue each flowfile on a period of time so there is a timespand between each flowfile. &lt;/P&gt;&lt;P&gt;I have tried with a process eait using routeOnAttribute but it don't work as i want it to do. &lt;/P&gt;&lt;P&gt;Best regards Simon&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 22:15:48 GMT</pubDate>
    <dc:creator>simon_jespersen</dc:creator>
    <dc:date>2018-01-03T22:15:48Z</dc:date>
    <item>
      <title>nifi process one flow file at the time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179400#M73049</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a listDataBaseTables which gives be 256 flowfiles. In my flow there is a lot of processing going on and i need to process one at the time. &lt;/P&gt;&lt;P&gt;Is it possible to trigger a processor only to continue when the flowfile before reach a certain processor, otherwise is it possible &lt;/P&gt;&lt;P&gt;to get a processor to continue each flowfile on a period of time so there is a timespand between each flowfile. &lt;/P&gt;&lt;P&gt;I have tried with a process eait using routeOnAttribute but it don't work as i want it to do. &lt;/P&gt;&lt;P&gt;Best regards Simon&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 22:15:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179400#M73049</guid>
      <dc:creator>simon_jespersen</dc:creator>
      <dc:date>2018-01-03T22:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: nifi process one flow file at the time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179401#M73050</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/16412/simonjespersen.html" nodeid="16412" target="_blank"&gt;@Simon Jespersen&lt;/A&gt;&lt;P&gt;If you know the time for 1 flowfile processing then&lt;/P&gt;&lt;P&gt;Try with &lt;STRONG&gt;Control Rate processor&lt;/STRONG&gt; with below properties&lt;/P&gt;&lt;P&gt;Rate Control Criteria
&lt;/P&gt;&lt;PRE&gt;flowfile count&lt;/PRE&gt;&lt;P&gt;Maximum Rate
&lt;/P&gt;&lt;PRE&gt;1&lt;/PRE&gt;&lt;P&gt;Time Duration
&lt;/P&gt;&lt;PRE&gt;1 min&lt;/PRE&gt;&lt;P&gt;Based on above property values Control Rate processor will release 1 flowfile per 1 minute.&lt;/P&gt;&lt;P&gt;Change the&lt;STRONG&gt; Time Duration value based on your one flowfile processing time&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47428-controlrate.png" style="width: 1408px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19383i0D2691E1F39615A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47428-controlrate.png" alt="47428-controlrate.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;You need to use &lt;STRONG&gt;Wait and Notify processors&lt;/STRONG&gt; to release flowfiles if the flowfile reaches certain processor.&lt;/P&gt;&lt;P&gt;Refer the below link about how to use wait and notify processors&lt;/P&gt;&lt;P&gt;&lt;A href="http://ijokarumawak.github.io/nifi/2017/02/02/nifi-notify-batch/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://ijokarumawak.github.io/nifi/2017/02/02/nifi-notify-batch/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:20:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179401#M73050</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T09:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: nifi process one flow file at the time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179402#M73051</link>
      <description>&lt;P&gt;Thank you this worked for me&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 23:41:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-process-one-flow-file-at-the-time/m-p/179402#M73051</guid>
      <dc:creator>simon_jespersen</dc:creator>
      <dc:date>2018-01-16T23:41:07Z</dc:date>
    </item>
  </channel>
</rss>

