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

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…

Contents