<?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 Workflow to store count of success and failure for multiple route in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Workflow-to-store-count-of-success-and-failure-for/m-p/316530#M226828</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88636"&gt;@rahul_ars&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use the "&lt;STRONG&gt;UpdateCounter&lt;/STRONG&gt;" [1] processor to create counters and update the count on them (up and down).&amp;nbsp; The "&lt;EM&gt;Counter Name&lt;/EM&gt;" property accepts NiFi EL, so you can use attribute son FlowFiles to dynamically update a counter uniquely by FlowFile traversing same dataflow path.&amp;nbsp; This will allow you to consolidate within your dataflow(s) to reduce the number of processors needed.&amp;nbsp; Fewer processors can lead to better performance through reduced resource utilization.&lt;BR /&gt;&lt;BR /&gt;The "&lt;EM&gt;Counters&lt;/EM&gt;" UI is found under the NiFi Global menu in the upper right corner of the NiFi UI.&lt;BR /&gt;&lt;BR /&gt;[1]&amp;nbsp;&lt;A href="http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.UpdateCounter/index.html" target="_blank"&gt;http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.UpdateCounter/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this help with your query, please take a moment to login and click accept on this solution.&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 12:34:12 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2021-05-17T12:34:12Z</dc:date>
    <item>
      <title>Nifi Workflow to store count of success and failure for multiple route</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Workflow-to-store-count-of-success-and-failure-for/m-p/316467#M226813</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; We have scenario to read file feed containing different data schema for lines and then write to multiple tables. We are trying to setup error handling and consolidated all success and failure count for different types of data. our data flow is almost as follows,&lt;/P&gt;&lt;P&gt;getFile -&amp;gt; splitText -&amp;gt; RouteText -&amp;gt; ConvertToJson -&amp;gt; JsonToSql -&amp;gt; PutSql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help with some suggestion. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 14:22:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Workflow-to-store-count-of-success-and-failure-for/m-p/316467#M226813</guid>
      <dc:creator>rahul_ars</dc:creator>
      <dc:date>2021-05-16T14:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Workflow to store count of success and failure for multiple route</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Workflow-to-store-count-of-success-and-failure-for/m-p/316530#M226828</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88636"&gt;@rahul_ars&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use the "&lt;STRONG&gt;UpdateCounter&lt;/STRONG&gt;" [1] processor to create counters and update the count on them (up and down).&amp;nbsp; The "&lt;EM&gt;Counter Name&lt;/EM&gt;" property accepts NiFi EL, so you can use attribute son FlowFiles to dynamically update a counter uniquely by FlowFile traversing same dataflow path.&amp;nbsp; This will allow you to consolidate within your dataflow(s) to reduce the number of processors needed.&amp;nbsp; Fewer processors can lead to better performance through reduced resource utilization.&lt;BR /&gt;&lt;BR /&gt;The "&lt;EM&gt;Counters&lt;/EM&gt;" UI is found under the NiFi Global menu in the upper right corner of the NiFi UI.&lt;BR /&gt;&lt;BR /&gt;[1]&amp;nbsp;&lt;A href="http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.UpdateCounter/index.html" target="_blank"&gt;http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.UpdateCounter/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this help with your query, please take a moment to login and click accept on this solution.&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 12:34:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Workflow-to-store-count-of-success-and-failure-for/m-p/316530#M226828</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-05-17T12:34:12Z</dc:date>
    </item>
  </channel>
</rss>

