From the course: Data Management with Apache NiFi
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Email alerts on change in activity status - Apache NiFi Tutorial
From the course: Data Management with Apache NiFi
Email alerts on change in activity status
- [Instructor] Now let's see if we can receive the alerting email which we'd get if the data flow has been inactive or when the activity is restored. Let me first configure the monitor activity processor first. If you remember, under properties, we had specified that the threshold is five minutes; this is the default. Now, this threshold determines how much time must elapse before the data flow is considered inactive. Now, five minutes is a long time to wait. So let's set this threshold to be something smaller, like 10 seconds. So if the data flow is inactive for 10 seconds, we'll receive an email. Now I've made the change, let me start the data flow once again. Now, if the data flow is constantly running, this alert should never be triggered. We explicitly have to do something to make the data flow inactive. What I'm going to do is stop the PutFile processor. This essentially means that something is wrong with the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Configuring back pressure3m 25s
-
(Locked)
Observing the effects of back pressure4m 30s
-
(Locked)
Configuring an InvokeHTTP processor5m 10s
-
(Locked)
Using a funnel in the dataflow4m 55s
-
(Locked)
Running the dataflow to read from URL and write to files1m 53s
-
(Locked)
Setting up monitoring for the dataflow2m 15s
-
(Locked)
Configuring alerting for the dataflow5m 5s
-
(Locked)
Email alerts on dataflow success3m 52s
-
(Locked)
Email alerts on change in activity status2m 40s
-
(Locked)
-