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.
Running the flow to read from file and write to database and Amazon S3 - Apache NiFi Tutorial
From the course: Data Management with Apache NiFi
Running the flow to read from file and write to database and Amazon S3
- [Instructor] We are now ready to run our nifi data flow. Now the data flow will read files from our local machine that's in the datasets folder, so let's copy over the files from the left to the right. On the right, you can see that I am at users, lunicon, tools, datasets. This is where our data flow will look for the files and notice that all of the files have the format in which our data flow expects these files, laptops, underscore, and then six digits. All of these files contain laptop information and you can see the laptops are either notebooks or ultrabooks. Now that we know the data that we are working with, let's head back to our data flow and I'm going to select a few processors and start them up one by one. So I've selected read laptop details and store laptop details in DB and started these up. Our 10 input flow files will be processed and soon you'll find them queued after store laptop details in DB. 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.