Deploying a data pipeline in production
In the previous chapter, you learned how to deploy data to production, so I will not go into any great depth here, but merely provide a review. To put the new data pipeline into production, perform the following steps:
- Browse to your production NiFi instance. I have another instance of NiFi running on port
8080
on localhost. - Drag and drop processor groups to the canvas and select Import. Choose the latest version of the processor groups you just built.
- Modify the variables on the processor groups to point to the database production. The table names can stay the same.
You can then run the data pipeline and you will see that the data is populated in the production database staging
and warehouse
tables.
The data pipeline you just built read files from a data lake, put them into a database table, ran a query to validate the table, and then inserted them into the warehouse. You could have built this data pipeline with a handful...