- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to trigger a nifi processor on nifi restart?
- Labels:
-
Apache NiFi
Created 11-20-2018 07:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
