Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

NiFi: Basic Ingestion (II) - HTTP to File, with data manipulation

Introduction

In this exercise we will get "batch data" from an open data source and store into file, performing some simple "data preparation":

HTTP service --> NiFi --> File

Pre-requisites

Launch Apache NiFi:

docker compose up -d nifi

Exercise

In this exercise we will not only move data (from HTTP to File), but also do some basic transformations:

  • Split the file, using the SplitText processor
    • Split every 100 rows
  • Rename the file, using the UpdateAttribute processor (and filename attribute)
    • Example renaming: EDEM-${filename}-${nextInt()}.csv

Resources