Tutorial: Building a new flow from scratch

If you are new to flow design and have never used NiFi before, this tutorial is for you. Learn how to build a draft adding and configuring components, connecting them, creating Controller Services, and testing your flow while creating it.

This tutorial walks you through the creation of a simple flow design that retrieves the latest changes from Wikipedia through invoking the Wikipedia API. The flow converts JSON events to Avro, then filters and routes the events to two different processors which merge events together, and finally a file is written to local disk.

You will learn about the following actions:

  • Creating a draft
  • Creating a Controller Service
  • Adding processors to your draft
  • Configuring processors
  • Adding a user-defined property to a processor configuration
  • Connecting processors to create relationships between them
  • Running a Test Session
  • Publishing a draft to the Catalog as a flow definition