<?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 - activate flow file one by one in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353259#M236670</link>
    <description>&lt;P&gt;Hello I am trying to make a data flow through Nifi which are listFile -&amp;gt; fetchFile -&amp;gt; data transformation -&amp;gt; putKudu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I want to somehow pause the fetchFile processor or hold on to the flowfiles received from the local server until a previous flowfile completely goes through the downstream, after putKudu processor, then release the next flowfile one by one.&lt;/P&gt;&lt;P&gt;I looked at Wait and Notify processors but could not find a way to notify the next flowfile in the queue to be released.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to apply this logic in the Nifi without using custom processor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Sep 2022 09:44:58 GMT</pubDate>
    <dc:creator>gmgiadinh176</dc:creator>
    <dc:date>2022-09-25T09:44:58Z</dc:date>
    <item>
      <title>NIfi - activate flow file one by one</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353259#M236670</link>
      <description>&lt;P&gt;Hello I am trying to make a data flow through Nifi which are listFile -&amp;gt; fetchFile -&amp;gt; data transformation -&amp;gt; putKudu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I want to somehow pause the fetchFile processor or hold on to the flowfiles received from the local server until a previous flowfile completely goes through the downstream, after putKudu processor, then release the next flowfile one by one.&lt;/P&gt;&lt;P&gt;I looked at Wait and Notify processors but could not find a way to notify the next flowfile in the queue to be released.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to apply this logic in the Nifi without using custom processor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 09:44:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353259#M236670</guid>
      <dc:creator>gmgiadinh176</dc:creator>
      <dc:date>2022-09-25T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: NIfi - activate flow file one by one</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353268#M236671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you looked into the ControlRate processor. Its not exactly doing what you want but it allows you to put a time to hold a flowfile before it gets released to the next processor. For example if you think that you need a second to process one flowfile from the moment its fetched to the moment its processed by PutKudu, then you can configure the ControlRate as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_0-1664114278646.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35741i3468150111FC713C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_0-1664114278646.png" alt="SAMSAL_0-1664114278646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 13:58:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353268#M236671</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-09-25T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: NIfi - activate flow file one by one</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353319#M236688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can configure that just 1 Flowfile will be handled inside of a specific ProcessorGroup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is the config option on PG which is called:&amp;nbsp;&lt;STRONG&gt;Process Group FlowFile Concurrency&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for that you can set the value: &lt;STRONG&gt;Single FlowFile per Node&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After PutKudu you will destroy the FlowFile or route it out from ProcessorGroup, then the next FlowFile will be released to enter to ProcessorGroup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case the Flow would look like:&lt;/P&gt;&lt;P&gt;ListFile Processor -&amp;gt; ProcessorGroup (handels fetchFile, data Transformation and putKudu)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 14:08:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIfi-activate-flow-file-one-by-one/m-p/353319#M236688</guid>
      <dc:creator>Faerballert</dc:creator>
      <dc:date>2022-09-26T14:08:31Z</dc:date>
    </item>
  </channel>
</rss>

