1
votes

I'm programming of custom NiFi Processor which extends org.apache.nifi.processor.AbstractProcessor

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?

1

1 Answers

2
votes

There currently isn't a way for a processor to stop itself. Processors are meant to be continuously running and triggered based on their scheduling strategy, or the presence of data in a queue leading in to a processor.

Andy explained this well in a question yesterday:

How to turn off Nifi Processor Schedule