Created 11-20-2018 07:29 AM
Hello ,
I have a scenario where I need to run a processor on NiFi restart.
Is there any way to trigger a nifi processor whenever nifi restarts ?
Thanks in advance,
Mahendra
Created on 11-20-2018 08:43 AM - edited 08-17-2019 05:04 PM
it's possible in NiFi but it depends on how frequently you are going to restart NiFi instance.
Use GenerateFlowFile (or) other processors and schedule the processor as shown below
With the above schedule GenerateFlowFile processor going to run once we start processor and next run will be after 1111111110 sec (or) when you restart NiFi instance.
For your case adjust the Run Schedule time based on your NiFi restart time.
Created on 11-20-2018 08:43 AM - edited 08-17-2019 05:04 PM
it's possible in NiFi but it depends on how frequently you are going to restart NiFi instance.
Use GenerateFlowFile (or) other processors and schedule the processor as shown below
With the above schedule GenerateFlowFile processor going to run once we start processor and next run will be after 1111111110 sec (or) when you restart NiFi instance.
For your case adjust the Run Schedule time based on your NiFi restart time.