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 the CSVReader controller service - Apache NiFi Tutorial
From the course: Data Management with Apache NiFi
Configuring the CSVReader controller service
- [Instructor] The PutDatabaseRecord processor requires a lot of configuration. You can hover over that little warning icon, and it'll show you all of the required properties. So let's get started with the configuration. Let's double click on this. There's nothing to do here in settings. There's nothing to do in scheduling. Let's go straight to properties. The first thing you need to configure is how this PutDatabaseRecord processor will read the record that it needs to store into a database. And there you'll need to specify a record reader controller service. A controller service is a mechanism in Apache NiFi that allows you to define and manage shared resources and configuration settings that can be utilized by multiple processors in a data flow. We need to create a new controller service that will allow us to read the contents of a CSV file. Because remember, get file will retrieve the CSV file from our local file…
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
-
-
-
-
-