Questions tagged [apache-nifi]

Apache NiFi is an easy to use, powerful, and reliable distributed system to transform and distribute data.

About

Apache NiFi, formerly Niagara Files, is a powerful data routing and transformation system originally created by the United States National Security Agency (NSA). Flows of data and transformations are expressed using directed graphs of data routing, transformation, and system mediation logic nodes.

NiFi has been designed as a distributed system and, with careful design, works well where limited network connectivity is available - eg a satellite node may receive vast amounts of data, and then samples / summaries can be sent back to a central location over a link with limited bandwidth.

Further, the system maintains extensive data provenance records, and it is possible to inspect flows and see individual data items and the state of them after any transformations at any point in the flow.

Clarification of ownership & license

  1. The Apache Software Foundation is a non-profit organization which owns the intellectual property of Apache NiFi (among many other projects). The Apache License, version 2.0 (additional FAQ) dictates the use and reproduction of the NiFi source code. You can read more about The Apache Way to Sustainable Open Source Success.
  2. You do not need to purchase a license to use, consume, or repurpose the Apache NiFi source code or compiled executables. You only need to adhere to the requirements outlined in the license linked above.
  3. The open source NiFi community (PMC members, committers, contributors, etc.) are available to offer help for free. This is done via:
  1. Multiple vendors do support customers with regards to Apache NiFi. Some provide consulting advice, like answering questions around the software with a certain level of responsiveness or access to experts. Others provide services like flow design & optimization, integration with other software, etc. Some offer their own version of the software with additional features or for specific deployment platforms.
  2. Those vendors may charge for access to their support, warranty, education, services, custom software, etc., but they are not selling you a license to use "Apache NiFi" (if they are charging you just to gain access to Apache NiFi, remember that Apache software is always free to use).

Links

5112 questions
7
votes
1 answer

Apache Nifi - Extract Attributes From Avro

I'm trying to get my head around on extracting attributes from Avro and JSON. I'm able to extract attributes from JSON by using EvaluateJsonPath processor. I'm trying to do the same on Avro, but i'm not sure whether it is achievable. Here is my…
Pons
  • 1,101
  • 1
  • 11
  • 20
7
votes
3 answers

NiFi - how to reference a flowFile in ExecuteStreamCommand?

I need to execute something like: sed '1d' simple.tsv > noHeader.tsv which will remove first line from my big flow file (> 1 GB). The thing is - I need to execute it on my flow file, so it'd be: sed '1d' myFlowFile > myFlowFile Question is: how I…
michalrudko
  • 1,432
  • 2
  • 16
  • 30
7
votes
3 answers

Does Apache NiFi support version control

I am trying to explore Apache NiFi. So far haven't seen any ways to version control flows. Is there a way to version control flows when multiple users are trying to develop in the same instance? What about code merge from multiple users? Any help…
Cal Ranjan
  • 71
  • 1
  • 2
7
votes
3 answers

In NiFi is it possible to read selectively through FetchS3Object processor?

In Apache NiFi, using FetchS3Object to read from an S3 bucket, I see it can reads all the object in bucket and as they are added. Is it possible: To configure the processor to read only objects added now onwards, not the one already present? How…
Sammy
  • 151
  • 2
  • 6
7
votes
1 answer

Split FlowContent by line and extract text to attributes NIFI

Im using NIFI and i want to extract attributes of my file lines . My Filetext looks like this : DEV=A9E ,SEN=1 DEV=B9E ,SEN=2 ... And i want to split text by line and then extract dev and sen to attribute , any way to do this with NIFI, i have…
azelix
  • 1,257
  • 4
  • 26
  • 50
7
votes
1 answer

NiFi: Remove fixed number of header lines from file

I'm processing a file and I'd like to remove (trim) the first X header lines to keep only data, possibly avoiding using regular expressions. Thanks
Filippo Loddo
  • 966
  • 9
  • 14
7
votes
1 answer

Apache NiFi :Convert JSONtoSQL (Oracle Database)

I wanted to convert my JSON string to SQL statement by using ConvertJSONtoSQL processor. example: JSON string -…
vivek paidi
  • 71
  • 1
  • 3
7
votes
1 answer

Nifi "PutSQL" Out of bounds exception

I'm trying to use the "PutSQL" processor to do exactly that. I modify the flowfile to using "ReplaceText" and create an INSERT statement. I have tested that statement in the MySQL database and the statement works. Here is the statement: …
7
votes
1 answer

Configuring HTTP POST request from Nifi

I am trying to access a WCF service from a REST client. I am sending a POST request from a REST client to a WCF service. For your reference, the detail is as follows. The Service Contract definition is as follows: [ServiceContract] public interface…
user-517752
  • 1,188
  • 5
  • 21
  • 54
7
votes
1 answer

What is the purpose of data provenance in Apache NiFi Processors

For every processor there is a way to configure the processor and there is a context menu to view data provenance. Is there a good explanation of what is data provenance?
Santanu Dey
  • 2,900
  • 3
  • 24
  • 38
7
votes
4 answers

How to create new flow using Apache Nifi

How can I create new flows using Apache Nifi. Is there only one flow? Also what about authentication? Can different users have different flows?
Gökhan Çoban
  • 600
  • 8
  • 17
7
votes
1 answer

how to capture bulletin messages in apache nifi

I want to know if there is a way to capture the bulletin messages(basically errors) that appear on the Nifi UI and store it in some attribute/file so that it can be looked upon later. The screen gets refreshed every 5 min and if there is a failure…
Swati Sood
  • 215
  • 1
  • 5
  • 10
7
votes
2 answers

Get failure reason in Apache NiFi

I want to log the reason of a failure in some NiFi processor. but i saw that it could have multiple reasons. Example for SplitAvroJson processor: "If a FlowFile fails processing for any reason (for example, the FlowFile is not valid Avro), it will…
Amine CHERIFI
  • 1,155
  • 2
  • 20
  • 35
7
votes
2 answers

MergeContent with nifi - inconsistent length

I am attempting to write a file on disk with the MergeContent processor, but I'm getting significantly varying file sizes - anywhere from one line to 806 lines. I've repeated the process many times over trying to figure out the newline demarcator as…
Josh Harrison
  • 434
  • 1
  • 6
  • 18
6
votes
2 answers

Apache NiFi Unable to start the flow controller because the TLS configuration was invalid: The keystore properties are not valid

I am attempting to upgrade to Apache NiFi from 1.9.2 to 1.12.1 and no matter how I tweak the properties file, I keep getting errors about TLS. I was running just fine before the upgrade. I was able to use the keytool to open the jks files and output…
Adam
  • 4,590
  • 10
  • 51
  • 84