Support Questions
Find answers, ask questions, and share your expertise

Stop Nifi processor automatically

Explorer

Hi,

 

Is there any way that Nifi processors stop automatically after no input for example 10 minutes rather than running until they are manually stopped?

Kindly let me know if there is any such feature..

2 ACCEPTED SOLUTIONS

Contributor

@krishna123 NiFi data flows are expected to be operated in an always on capacity.  If no input is arriving, the processor is not doing anything, there is no reason to stop it.

 

Can you explain in more detail why you want it actually stopped?

 

View solution in original post

Contributor

@krishna123 this is how nifi is supposed to work.   If there is no input, even though the processor is Play/Green, it is not doing anything.     It is only "running" if there is input.

View solution in original post

4 REPLIES 4

Contributor

@krishna123 NiFi data flows are expected to be operated in an always on capacity.  If no input is arriving, the processor is not doing anything, there is no reason to stop it.

 

Can you explain in more detail why you want it actually stopped?

 

Explorer

@steven-matison  Even if there is no input arriving the processor keeps in green running status know. Is it possible to stop it automatically after there is no input for example 10 minutes without any human intervention?

Contributor

The only thing i guessed you can do is to increase "Run schedule" time so the processor will not be looking for what to do all the time but will run  at the Run schedule time interval you specified.

 

Contributor

@krishna123 this is how nifi is supposed to work.   If there is no input, even though the processor is Play/Green, it is not doing anything.     It is only "running" if there is input.

; ;