Apache NiFi - The Complete Guide (Part 1)

Apache NiFi is a robust open-source Data Ingestion and Distribution framework and more.

Instructed by Manoj G T

  • Includes all Standard Features
  • Get Unlimited access to all the courses
  • No Contract. Cancel Anytime
Starting in just $19 / mo see all plans
Subscribe Now
$ 299
Annual Subscription
  • One year Unlimited Access
  • Access to all courses
    You will be able to access all the courses from any category on the platform.
  • Learning paths access
  • Access Assignments & Projects
  • Access on Mobile, PC and Tablet
  • Pause & Resume Courses Anytime
  • Offline viewing
  • Instructor Support
  • Course Completion Certificates
  • Cancel Anytime
Subscribe Now
  • What is Apache NiFi?
  • The Core Concepts of Apache NiFi
  • Install Apache NiFi in Standalone Mode
  • High Level Overview of Key NiFi Features
  • Hands-on with Apache NiFi

What is Apache NiFI?

Apache NiFi is a robust open-source Data Ingestion and Distribution framework and more. It can propagate any data content from any source to any destination.


NiFi is based on a different programming paradigm called Flow-Based Programming (FBP). I’m not going to explain the definition of Flow-Based Programming. Instead, I will tell how NiFi works, and then you can connect it with the definition of Flow-Based Programming.


How NiFi Works?

NiFi consists of atomic elements which can be combined into groups to build simple or complex dataflow.


NiFi as Processors & Process Groups.


What is a Processor?


A Processor is an atomic element in NiFi which can do some specific task.


The latest version of NiFi have around 280+ processors, and each has its responsibility.


Ex. The GetFile processor can read a file from a specific location, whereas PutFile processor can write a file to a particular location. Like this, we have many other processors, each with its unique aspect.


We have processors to Get Data from various data sources and processors to Write Data to various data sources.


The data source can be almost anything.


It can be any SQL database server like Postgres, or Oracle, or MySQL, or it can be NoSQL databases like MongoDB, or Couchbase, it can also be your search engines like Solr or Elastic Search, or it can be your cache servers like Redis or HBase. It can even connect to Kafka  Messaging Queue.


NiFi also has a rich set of processors to connect with Amazon AWS entities likes S3 Buckets and DynamoDB.


NiFi have a processor for almost everything you need when you typically work with data. We will go deep into various types of processors available in NiFi in later videos. Even if you don’t find a right processor which fit your requirement, NiFi gives a simple way to write your custom processors.


Now let’s move on to the next term, FlowFile.


What is a FlowFile?


The actual data in NiFi propagates in the form of a FlowFile. The FlowFile can contain any data, say CSV, JSON, XML, Plaintext, and it can even be SQL Queries or Binary data.


The FlowFile abstraction is the reason, NiFi can propagate any data from any source to any destination. A processor can process a FlowFile to generate new FlowFile.


The next important term is Connections.


In NiFi all processors can be connected to create a data flow. This link between processors is called Connections. Each connection between processors can act as a queue for Flow Files as well.


The next one is Process Group and Input or Output port.


In NiFi, one or more processors are connected and combined into a Process Group. When you have a complex dataflow, it’s better to combine processors into logical process groups. This helps in better maintenance of the flows.


Process Groups can have input and output ports which are used to move data between them.


The last and final term you should know for now is the Controller Services.


Controller Services are shared services that can be used by Processors. For example, a processor which gets and puts data to a SQL database can have a Controller Service with the required DB connection details.


Controller Service is not limited to DB connections.


#learnwithmanoj #apachenifi #nifi #dataflow #datapipeline #etl #opensource #bigdata #opensource #datastreaming #hortonworks #hdf #nifitutorial #nifitraining

  • Basics Knowledge of ETL is Preferred
  • Hands on in Database Systems like PostgreSQL, MongoDB, etc. is Preferred
  • Basic Knowledge of Big Data is Preferred
  • Software Engineers
  • Data Engineers
  • Software Architects
  • Data Scientists
View More...

Section 1 : Apache NiFi Introduction

  • Lecture 1 :
  • Lecture 2 :
  • What is a Data Flow, Data Pipeline & ETL?
  • Lecture 3 :
  • Why should we use a Framework for Data Flow?
  • Lecture 4 :
  • What is Apache NiFi?

Section 2 : Apache NiFi Installation

  • Lecture 1 :
  • Installing Apache NiFi in a Mac/Linux
  • Lecture 2 :
  • Installing Apache NiFi in a Windows Machine

Section 3 : Apache NiFi Basics

  • Lecture 1 :
  • NiFi User Interface
  • Lecture 2 :
  • Core NiFi Terminologies
  • Lecture 3 :
  • More on FlowFiles of NiFi
  • Lecture 4 :
  • Types of Processors Available in NiFi
  • Lecture 5 :
  • Processor Configuration, Connection & Relationship in NiFi
  • Lecture 6 :
  • Connection Queue & Back Pressure in NiFi

Section 4 : DataFlow 101- Hands-on with Apache NiFi

  • Lecture 1 :
  • Working with Attributes & Content in NiFi
  • Lecture 2 :
  • Working with Expression Language in NiFi
  • Lecture 3 :
  • More on Expression Language Functions in NiFi
  • Lecture 4 :
  • Working with Process Group, Input Port & Output Port in NiFi
  • Lecture 5 :
  • Working with Templates in NiFi
  • Lecture 6 :
  • Working with Funnel in NiFi
  • Lecture 7 :
  • Bonus Lecture

Manoj G T,

I'm a Big Data Evangelist, JavaScript Lover, Web Developer & Performance Freak. I'm passionate about programming since I was 14 and I'm always willing to learn new things and continue to seek to improve myself.

​I have decided to teach what I have learned and started to train in learnfly.

"My main objective is to provide high-quality course content to all my students in an easy and understanding way."

View More...

Big Data Pipeline Applied to UFOs

By : Eduardo Morelli

Lecture 6


Git and GitHub Version Control - Th...

By : Abhilash Nelson

Lecture 15


Statistics for Data Scientists and ...

By : Phikolomzi Gugwana

Lecture 31


Big Data and Hadoop

By : Saheb Singh

Lecture 26


Machine Learning from Scratch using...

By : Saheb Singh

Lecture 14


Data Preparation for Analytics A-Z...

By : Shokat Ali

Lecture 13


Sign up and start learning
By signing up, you agree to our Terms of Use and Privacy Policy
Forget Password