Bo.
Bo.

Reputation: 665

Apache NiFi: programmatically stop the Custom Processor

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?

Upvotes: 1

Views: 753

Answers (1)

Bryan Bende
Bryan Bende

Reputation: 18630

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

Upvotes: 2

Related Questions