<?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: programmatically stop the Custom Processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-programmatically-stop-the-Custom-Processor/m-p/185909#M148016</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm programming of custom NiFi Processor which extends &lt;/P&gt;&lt;PRE&gt;org.apache.nifi.processor.AbstractProcessor &lt;/PRE&gt;&lt;P&gt;I don't want the processor to repeat the same iteration, so how to programmatically stop the processor after transfer the FlowFile to the appropriate destination processor?&lt;/P&gt;&lt;P&gt;I read about &lt;/P&gt;&lt;PRE&gt;System.exit();&lt;/PRE&gt;&lt;P&gt;But it hangs up my NiFi.. How to do it correctly?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 15:27:15 GMT</pubDate>
    <dc:creator>il987</dc:creator>
    <dc:date>2017-05-25T15:27:15Z</dc:date>
    <item>
      <title>NiFi: programmatically stop the Custom Processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-programmatically-stop-the-Custom-Processor/m-p/185909#M148016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm programming of custom NiFi Processor which extends &lt;/P&gt;&lt;PRE&gt;org.apache.nifi.processor.AbstractProcessor &lt;/PRE&gt;&lt;P&gt;I don't want the processor to repeat the same iteration, so how to programmatically stop the processor after transfer the FlowFile to the appropriate destination processor?&lt;/P&gt;&lt;P&gt;I read about &lt;/P&gt;&lt;PRE&gt;System.exit();&lt;/PRE&gt;&lt;P&gt;But it hangs up my NiFi.. How to do it correctly?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:27:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-programmatically-stop-the-Custom-Processor/m-p/185909#M148016</guid>
      <dc:creator>il987</dc:creator>
      <dc:date>2017-05-25T15:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi: programmatically stop the Custom Processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-programmatically-stop-the-Custom-Processor/m-p/185910#M148017</link>
      <description>&lt;P&gt;Okay, here is answer to my question: &lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/44153120/how-to-turn-off-nifi-processor-schedule" target="_blank"&gt;https://stackoverflow.com/questions/44153120/how-to-turn-off-nifi-processor-schedule&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Basically I just used CRON scheduling strategy and setted expression to run only once in certain day and time.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 02:11:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-programmatically-stop-the-Custom-Processor/m-p/185910#M148017</guid>
      <dc:creator>il987</dc:creator>
      <dc:date>2017-05-26T02:11:26Z</dc:date>
    </item>
  </channel>
</rss>

