<?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: NiFi Queue threshold in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112884#M46765</link>
    <description>&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could look for values:   GET
/flowfile-queues/{id}/listing-requests/{listing-request-id}
Gets the current status of a listing request for the specified connection.  &lt;/P&gt;&lt;P&gt;You can call that from a NiFi InvokeHTTP and check the status.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2016 03:20:01 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2016-11-21T03:20:01Z</dc:date>
    <item>
      <title>NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112877#M46758</link>
      <description>&lt;P&gt;Hello..&lt;/P&gt;&lt;P&gt;is it possible to send threshold (email/SNMP) once threshold is reached to X level.&lt;/P&gt;&lt;P&gt;I was able to use the PutEmail after MergeContent which is not very professional...but was not able to set threshold for that ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 00:42:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112877#M46758</guid>
      <dc:creator>yahya_najjar</dc:creator>
      <dc:date>2016-11-21T00:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112878#M46759</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/kbentry/7882/hdfnifi-best-practices-for-setting-up-a-high-perfo.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/7882/hdfnifi-best-practices-for-setting-up-a-high-perfo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where do you want the threshold?  On the queue?   On each processor?&lt;/P&gt;&lt;P&gt;Set your run schedule or Scheduling Strategy. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 02:31:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112878#M46759</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-21T02:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112879#M46760</link>
      <description>&lt;P&gt;There isn't a way that I know of to send alerts based on the threshold. The threshold is used by NiFi to trigger back-pressure, which means when the threshold is reached the components right before the queue will no longer be triggered to run anymore until the queue goes below the threshold. In the next Apache NiFi release (1.1) there will be a color indicator as to whether back-pressure is occurring or not:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9655-nifi-back-pressure.jpg" style="width: 876px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23193i5A8D2CD0CED9C60D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9655-nifi-back-pressure.jpg" alt="9655-nifi-back-pressure.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:12:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112879#M46760</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2019-08-19T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112880#M46761</link>
      <description>&lt;P&gt;Thanks Timothy,&lt;/P&gt;&lt;P&gt;Well, before PutSQL, incase there is a DB connection issue and and queue reaches to X level, I want to recieve some kind of alarm..&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 02:51:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112880#M46761</guid>
      <dc:creator>yahya_najjar</dc:creator>
      <dc:date>2016-11-21T02:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112881#M46762</link>
      <description>&lt;P&gt;Thanks for your answer, is there any workaround for that ? any suggestion ? I need to trigger email/alarm incase I have connection issue (putSQL) processor ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 02:55:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112881#M46762</guid>
      <dc:creator>yahya_najjar</dc:creator>
      <dc:date>2016-11-21T02:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112882#M46763</link>
      <description>&lt;P&gt;Could you use the MonitorActivity processor? If you have a constant flow of data to your database then you could connect the success relationship from PutSQL to a MonitorActivity processor, and send an alert if nothing has been successful in X minutes. It is not really tied to the queue threshold at all, but would likely indicate an error if you hadn't seen any successful flow files in a while.&lt;/P&gt;&lt;P&gt;You could also write a custom ReportingTask that went through all the bulletins (warnings/errors) to find bulletins for any PutSQL processor and then send an email. This requires a bit of development work though.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 03:07:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112882#M46763</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-11-21T03:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112883#M46764</link>
      <description>&lt;P&gt;Excellent... it should do the work for me... many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 03:11:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112883#M46764</guid>
      <dc:creator>yahya_najjar</dc:creator>
      <dc:date>2016-11-21T03:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112884#M46765</link>
      <description>&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could look for values:   GET
/flowfile-queues/{id}/listing-requests/{listing-request-id}
Gets the current status of a listing request for the specified connection.  &lt;/P&gt;&lt;P&gt;You can call that from a NiFi InvokeHTTP and check the status.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 03:20:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112884#M46765</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-21T03:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112885#M46766</link>
      <description>&lt;P&gt;or call the API in a script that can send a message or mail.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 03:20:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112885#M46766</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-21T03:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Queue threshold</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112886#M46767</link>
      <description>&lt;P&gt;Thanks really.. didn't know this... will check it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 03:28:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Queue-threshold/m-p/112886#M46767</guid>
      <dc:creator>yahya_najjar</dc:creator>
      <dc:date>2016-11-21T03:28:40Z</dc:date>
    </item>
  </channel>
</rss>

