Apache NiFi Complete Guide - Part 1 - Apache NiFi Basics & Installation

Manoj GT, Big Data Evangelist & JavaScript Lover

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
18 Lessons (1h 23m)
    • 1. Course Introduction

      0:47
    • 2. What is a Data Flow, Data Pipeline & ETL?

      2:33
    • 3. Why should we use a Framework for Data Flow?

      3:19
    • 4. What is Apache NiFi?

      1:31
    • 5. Installing NiFi in a Mac

      3:38
    • 6. Installing NiFi in a Windows Machine

      3:11
    • 7. NiFi User Interface

      3:37
    • 8. Core NiFi Terminologies

      4:58
    • 9. More on FlowFiles

      2:31
    • 10. Types of Processors Available in NiFi

      4:31
    • 11. Processor Configurations, Connections Relationships in NiFi

      8:05
    • 12. Connection Queue Back Pressure in NiFi

      7:06
    • 13. Working with Attributes Content in NiFi

      10:41
    • 14. Working with Expression Language in NiFi

      5:44
    • 15. More on Expression Language Functions in NiFi

      4:39
    • 16. Working with Process Group, Input Port Output Port in NiFi

      8:08
    • 17. Working with Templates

      4:05
    • 18. Apache NiFi Working with Funnel in NiFi

      3:56
18 students are watching this class

About This Class

Apache NiFi Complete Guide - Part 1 - Apache NiFi Introduction & Installation

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.

It is one of the fastest-growing Apache Projects and expected to grow exponentially in the coming few years.

How NiFi Works?

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

NiFi has Processors & Process Groups.

What is a Processor in NiFi?

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 in NiFi?

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.

What is a Connection in NiFi?

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 the Process Group and Input or Output port.

What are Process Group, Input Port & Output Port in NiFi?

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.

What is a Controller Service in NiFi?

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.

To learn more about Apache NiFi, kindly visit my YouTube Channel. I have created a Playlist, especially for Beginners.