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.
Configuring task concurrency - Apache NiFi Tutorial
From the course: Data Management with Apache NiFi
Configuring task concurrency
- [Instructor] Now let's see how we can configure a processor to be executed using multiple concurrent tasks. Because we're going to be changing the configuration settings for PutDatabaseRecord, I've selected it and I'm going to stop this processor. Remember, a processor can be configured only when it's in the stop state. Double click to bring up its dialog and let's head over to the Scheduling tab. Notice we have concurrent tasks set to one. I've now set it to two so that there'll be two concurrent tasks that'll execute when we run this processor. Let's now restart the PutDatabaseRecord processor as well and I'll now add some new data to the datasets folder that can be processed by our data flow. Let's select these five files car_ad_06 to 10 and paste it into the datasets folder. Now let's head back to our NiFi data flow and watch these files be processed. Initially queued just before PutDatabaseRecord will be zero,…
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
-
-
-
-
-
Set up a PostgreSQL table3m 11s
-
(Locked)
Add GetFile and PutDatabase processors3m 23s
-
(Locked)
Configuring the CSVReader controller service3m 46s
-
(Locked)
Configuring the DBConnectionPool controller service4m 26s
-
(Locked)
Running and encountering dataflow errors2m 47s
-
(Locked)
Configuring the ReplaceText processor2m 58s
-
(Locked)
Running a dataflow to insert data into PostgreSQL2m 35s
-
(Locked)
Configuring the Run schedule3m 14s
-
(Locked)
Configuring task concurrency2m 58s
-
(Locked)
Configure processors to execute SQL queries4m 25s
-
-
-
-
-