Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

NiFi: Basic Ingestion (I) - HTTP to File

Introduction

In this exercise we will get "batch data" from an open data source and store into the file system:

HTTP service --> NiFi --> File

Pre-requisites

Launch Apache NiFi:

docker compose up -d nifi

Exercise

This will be the data source (Valencia Open Data - ValenBisi Availability):

In that dataset, look for the CSV URL.

Some tips:

  • Use the following processors
    • InvokeHTTP
    • PutFile
  • Connect the processors with the "response" output, and terminate the others
  • WARNING: Check the “SCHEDULING” when invoking the HTTP URL and set to something reasonable (e.g. 30 secs), otherwise we will saturate the server

Resources