<?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: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187658#M149759</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/23184/srijitachaturvedi14.html" nodeid="23184" target="_blank"&gt;@sri chaturvedi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can right click on connection and select empty queue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42404-screen-shot-2017-11-01-at-20814-pm.png" style="width: 588px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18700i95E6BDF4504D9D3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42404-screen-shot-2017-11-01-at-20814-pm.png" alt="42404-screen-shot-2017-11-01-at-20814-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 07:59:52 GMT</pubDate>
    <dc:creator>ahadjidj</dc:creator>
    <dc:date>2019-08-18T07:59:52Z</dc:date>
    <item>
      <title>I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187657#M149758</link>
      <description>&lt;P&gt;@matt burgess&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:56:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187657#M149758</guid>
      <dc:creator>srijitachaturve</dc:creator>
      <dc:date>2017-11-01T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187658#M149759</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/23184/srijitachaturvedi14.html" nodeid="23184" target="_blank"&gt;@sri chaturvedi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can right click on connection and select empty queue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42404-screen-shot-2017-11-01-at-20814-pm.png" style="width: 588px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18700i95E6BDF4504D9D3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42404-screen-shot-2017-11-01-at-20814-pm.png" alt="42404-screen-shot-2017-11-01-at-20814-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:59:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187658#M149759</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2019-08-18T07:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187659#M149760</link>
      <description>&lt;P&gt;Hi, Thanks for the suggestion, but doing this thing for 5o flows is very time consuming, i was looking for an alternative if we can empty the queues of a particular Process group all at once, may be from nifi backend using some api?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 20:20:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187659#M149760</guid>
      <dc:creator>srijitachaturve</dc:creator>
      <dc:date>2017-11-01T20:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187660#M149761</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23184/srijitachaturvedi14.html" nodeid="23184"&gt;@sri chaturvedi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the clarification. I misunderstood your question. &lt;/P&gt;&lt;P&gt;You can use NIFI rest API to get the list of your connections with this endpoint &lt;STRONG&gt;/process-groups/{id}/connections&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And loop over them and empty each connection with this endpoint &lt;STRONG&gt;/flowfile-queues/{id}/drop-requests&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 20:31:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187660#M149761</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-01T20:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187661#M149762</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/146843/i-have-50-nifi-flows-for-fetching-data-from-rdbms.html?childToView=145905#"&gt;@sri chaturvedi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I just tried the following call on my NiFi:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Get my root PG ID with the following call : &lt;A href="http://localhost:8080/nifi-api/process-groups/root/" target="_blank"&gt;http://localhost:8080/nifi-api/process-groups/root/&lt;/A&gt; (it's c2d938e4-015e-1000-7261-ec94e01a500d)
&lt;/LI&gt;&lt;LI&gt;Get all connections of my root PG with their IDs : &lt;A href="http://localhost:8080/nifi-api/process-groups/c2d938e4-015e-1000-7261-ec94e01a500d/connections" target="_blank"&gt;http://localhost:8080/nifi-api/process-groups/c2d938e4-015e-1000-7261-ec94e01a500d/connections&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt;Drop flow files from on of the connection with ID 774b15d2-015f-1000-d65f-951f21fdcf4d with the call  &lt;A href="http://localhost:8080/nifi-api/flowfile-queues/774b15d2-015f-1000-d65f-951f21fdcf4d/drop-requests" target="_blank"&gt;http://localhost:8080/nifi-api/flowfile-queues/774b15d2-015f-1000-d65f-951f21fdcf4d/drop-requests&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can put this logic inside a script and use Curl to call NiFi API.&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 20:48:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187661#M149762</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-11-01T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: I have 50 nifi flows for fetching data from rdbms to hbase, the flows have a lot of data queues up in connections between two processors. is there any method to clear up the queues of multiple flows in one go..may be using some rest api?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187662#M149763</link>
      <description>&lt;P&gt; @&lt;A href="https://community.hortonworks.com/users/2056/ahadjidj.html"&gt;Abdelkrim Hadjidj &lt;/A&gt; Thanks a lot for your inputs into this, i will try this, i think this will surely solve my issue.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:17:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-have-50-nifi-flows-for-fetching-data-from-rdbms-to-hbase/m-p/187662#M149763</guid>
      <dc:creator>srijitachaturve</dc:creator>
      <dc:date>2017-11-09T19:17:41Z</dc:date>
    </item>
  </channel>
</rss>

