<?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 How can I control the number of threads executing dataflows in a Nifi instance ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195909#M157963</link>
    <description />
    <pubDate>Mon, 13 Nov 2017 23:50:19 GMT</pubDate>
    <dc:creator>tarek_elgamal</dc:creator>
    <dc:date>2017-11-13T23:50:19Z</dc:date>
    <item>
      <title>How can I control the number of threads executing dataflows in a Nifi instance ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195909#M157963</link>
      <description />
      <pubDate>Mon, 13 Nov 2017 23:50:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195909#M157963</guid>
      <dc:creator>tarek_elgamal</dc:creator>
      <dc:date>2017-11-13T23:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the number of threads executing dataflows in a Nifi instance ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195910#M157964</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/22226/tarekelgamal.html" nodeid="22226" target="_blank"&gt;@Tarek Elgamal&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Click on &lt;STRONG&gt;Global menu and Click on Controller settings button then in General tab from this tab you can control threads running in NiFi instance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42565-nifi-control.png" style="width: 572px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17976i8F745FCB8E53FECC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42565-nifi-control.png" alt="42565-nifi-control.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42566-nifi-control2.png" style="width: 992px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17977iCCE3AB6BCB56E7C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42566-nifi-control2.png" alt="42566-nifi-control2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In addition you can refer to below community links&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/76117/how-to-improve-nifi-concurrency.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/questions/76117/how-to-improve-nifi-concurrency.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:33:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195910#M157964</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T06:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the number of threads executing dataflows in a Nifi instance ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195911#M157965</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; , thats what I was looking for , do you have an idea what is the corresponding parameter in nifi.properties file?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 06:18:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195911#M157965</guid>
      <dc:creator>tarek_elgamal</dc:creator>
      <dc:date>2017-11-14T06:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the number of threads executing dataflows in a Nifi instance ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195912#M157966</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/22226/tarekelgamal.html" nodeid="22226"&gt;@Tarek Elgamal&lt;/A&gt;,&lt;BR /&gt;I don't think corresponding parameters are in nifi.properties file and these params are for each node not for the whole cluster.The concurrent tasks assigned to your processors pull threads from the Maximum Timer Driven Thread Count pool.&lt;/P&gt;&lt;P&gt;You can refer to below community links to get more info about these parameters&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/104718/handlehttprequest-configure-to-process-millions-of.html" target="_blank"&gt;https://community.hortonworks.com/questions/104718/handlehttprequest-configure-to-process-millions-of.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/questions/140889/in-nifi-all-the-processors-in-the-data-flow-are-ex.html?childToView=140999#comment-140999" target="_blank"&gt;https://community.hortonworks.com/questions/140889/in-nifi-all-the-processors-in-the-data-flow-are-ex.html?childToView=140999#comment-140999&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#system_properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#system_properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 09:18:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195912#M157966</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-11-14T09:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the number of threads executing dataflows in a Nifi instance ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195913#M157967</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; that was really helpful.. I am just wondering that when I set the number of threads of the whole instance to 1 and I have two processors connected to each other they still manage to somehow run concurrently .. The first processor takes on average 2.5 seconds per input and the second processors takes on average 4.5 seconds.. I gave it 100 inputs and I was expecting it to finish in around 700 seconds (i.e., sequential execution) but it still manages to finish in 480 seconds which suggests that each processor is using a separate thread and they do not wait on each other. Am I missing something here ? &lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 01:32:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-control-the-number-of-threads-executing-dataflows/m-p/195913#M157967</guid>
      <dc:creator>tarek_elgamal</dc:creator>
      <dc:date>2017-11-17T01:32:22Z</dc:date>
    </item>
  </channel>
</rss>

