2015-02-03 09:41:27 -05:00
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
2017-05-01 08:56:52 -04:00
[< img src = "https://nifi.apache.org/assets/images/apache-nifi-logo.svg" width = "300" height = "126" alt = "Apache NiFi" / > ][nifi]
2020-02-20 19:41:40 -05:00
[![ci-workflow ](https://github.com/apache/nifi/workflows/ci-workflow/badge.svg )](https://github.com/apache/nifi/actions)
2018-03-02 12:08:29 -05:00
[![Docker pulls ](https://img.shields.io/docker/pulls/apache/nifi.svg )](https://hub.docker.com/r/apache/nifi/)
[![Version ](https://img.shields.io/maven-central/v/org.apache.nifi/nifi-utils.svg )](https://nifi.apache.org/download.html)
2019-10-24 21:28:25 -04:00
[![Slack ](https://img.shields.io/badge/chat-on%20Slack-brightgreen.svg )](https://s.apache.org/nifi-community-slack)
2014-12-08 15:22:14 -05:00
2017-05-08 11:09:54 -04:00
[Apache NiFi ](https://nifi.apache.org/ ) is an easy to use, powerful, and
2017-03-27 16:42:50 -04:00
reliable system to process and distribute data.
2014-12-08 15:22:14 -05:00
## Table of Contents
2015-08-15 13:12:22 -04:00
- [Features ](#features )
- [Requirements ](#requirements )
2014-12-08 15:22:14 -05:00
- [Getting Started ](#getting-started )
2015-08-15 13:12:22 -04:00
- [Getting Help ](#getting-help )
- [Documentation ](#documentation )
2014-12-08 15:22:14 -05:00
- [License ](#license )
2017-03-27 16:42:50 -04:00
- [Export Control ](#export-control )
2015-08-15 13:12:22 -04:00
## Features
Apache NiFi was made for dataflow. It supports highly configurable directed graphs of data routing, transformation, and system mediation logic. Some of its key features include:
- Web-based user interface
- Seamless experience for design, control, and monitoring
2016-08-08 10:17:27 -04:00
- Multi-tenant user experience
2015-08-15 13:12:22 -04:00
- Highly configurable
- Loss tolerant vs guaranteed delivery
- Low latency vs high throughput
- Dynamic prioritization
- Flows can be modified at runtime
- Back pressure
2016-08-08 10:17:27 -04:00
- Scales up to leverage full machine capability
2020-07-08 23:02:35 -04:00
- Scales out with zero-leader clustering model
2015-08-15 13:12:22 -04:00
- Data Provenance
- Track dataflow from beginning to end
- Designed for extension
- Build your own processors and more
- Enables rapid development and effective testing
- Secure
- SSL, SSH, HTTPS, encrypted content, etc...
2016-08-08 10:17:27 -04:00
- Pluggable fine-grained role-based authentication/authorization
- Multiple teams can manage and share specific portions of the flow
2015-08-15 13:12:22 -04:00
## Requirements
2019-03-04 22:03:49 -05:00
* JDK 1.8 (*ongoing work to enable NiFi to run on Java 9/10/11; see [NIFI-5174 ](https://issues.apache.org/jira/browse/NIFI-5174 )*)
2019-05-06 09:59:36 -04:00
* Apache Maven 3.1.1 or newer
2016-08-14 15:47:19 -04:00
* Git Client (used during build process by 'bower' plugin)
2014-12-08 15:22:14 -05:00
## Getting Started
2015-08-23 22:42:32 -04:00
- Read through the [quickstart guide for development ](http://nifi.apache.org/quickstart.html ).
2015-04-29 20:11:22 -04:00
It will include information on getting a local copy of the source, give pointers on issue
tracking, and provide some warnings about common problems with development environments.
2015-05-15 14:30:43 -04:00
- For a more comprehensive guide to development and information about contributing to the project
2015-08-23 22:42:32 -04:00
read through the [NiFi Developer's Guide ](http://nifi.apache.org/developer-guide.html ).
2015-08-15 13:12:22 -04:00
To build:
- Execute `mvn clean install` or for parallel build execute `mvn -T 2.0C clean install` . On a
modest development laptop that is a couple of years old, the latter build takes a bit under ten
minutes. After a large amount of output you should eventually see a success message.
2016-08-08 10:17:27 -04:00
laptop:nifi myuser$ mvn -T 2.0C clean install
2015-08-15 13:12:22 -04:00
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 115 modules...
...tens of thousands of lines elided...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:24 min (Wall Clock)
[INFO] Finished at: 2015-04-30T00:30:36-05:00
[INFO] Final Memory: 173M/1359M
[INFO] ------------------------------------------------------------------------
2019-07-18 15:50:44 -04:00
- Execute `mvn clean install -DskipTests` to compile tests, but skip running them.
2015-08-15 13:12:22 -04:00
To deploy:
- Change directory to 'nifi-assembly'. In the target directory, there should be a build of nifi.
2016-08-08 10:17:27 -04:00
laptop:nifi myuser$ cd nifi-assembly
laptop:nifi-assembly myuser$ ls -lhd target/nifi*
drwxr-xr-x 3 myuser mygroup 102B Apr 30 00:29 target/nifi-1.0.0-SNAPSHOT-bin
-rw-r--r-- 1 myuser mygroup 144M Apr 30 00:30 target/nifi-1.0.0-SNAPSHOT-bin.tar.gz
-rw-r--r-- 1 myuser mygroup 144M Apr 30 00:30 target/nifi-1.0.0-SNAPSHOT-bin.zip
2015-08-15 13:12:22 -04:00
- For testing ongoing development you could use the already unpacked build present in the directory
named "nifi-*version*-bin", where *version* is the current project version. To deploy in another
location make use of either the tarball or zipfile and unpack them wherever you like. The
distribution will be within a common parent directory named for the version.
2016-08-08 10:17:27 -04:00
laptop:nifi-assembly myuser$ mkdir ~/example-nifi-deploy
laptop:nifi-assembly myuser$ tar xzf target/nifi-*-bin.tar.gz -C ~/example-nifi-deploy
laptop:nifi-assembly myuser$ ls -lh ~/example-nifi-deploy/
2015-08-15 13:12:22 -04:00
total 0
2016-08-08 10:17:27 -04:00
drwxr-xr-x 10 myuser mygroup 340B Apr 30 01:06 nifi-1.0.0-SNAPSHOT
2015-08-15 13:12:22 -04:00
To run NiFi:
- Change directory to the location where you installed NiFi and run it.
2016-08-08 10:17:27 -04:00
laptop:~ myuser$ cd ~/example-nifi-deploy/nifi-*
laptop:nifi-1.0.0-SNAPSHOT myuser$ ./bin/nifi.sh start
2021-01-07 13:35:56 -05:00
Issuing `bin/nifi.sh start` executes the `nifi.sh` script that starts NiFi in the background and then exits. If you want `nifi.sh` to wait for NiFi to finish scheduling all components before exiting, use the `--wait-for-init` flag with an optional timeout specified in seconds.
2015-08-15 13:12:22 -04:00
2021-01-07 13:35:56 -05:00
laptop:nifi-1.0.0-SNAPSHOT myuser$ ./bin/nifi.sh start --wait-for-init 120
2015-08-15 13:12:22 -04:00
- Direct your browser to http://localhost:8080/nifi/ and you should see a screen like this screenshot:
![image of a NiFi dataflow canvas ](nifi-docs/src/main/asciidoc/images/nifi_first_launch_screenshot.png?raw=true )
2015-09-09 11:13:13 -04:00
- For help building your first data flow see the [NiFi User Guide ](http://nifi.apache.org/docs/nifi-docs/html/user-guide.html )
2015-08-15 13:12:22 -04:00
- If you are testing ongoing development, you will likely want to stop your instance.
2016-08-08 10:17:27 -04:00
laptop:~ myuser$ cd ~/example-nifi-deploy/nifi-*
laptop:nifi-1.0.0-SNAPSHOT myuser$ ./bin/nifi.sh stop
2015-08-15 13:12:22 -04:00
## Getting Help
If you have questions, you can reach out to our mailing list: dev@nifi.apache.org
2019-07-25 16:18:10 -04:00
([archive](http://mail-archives.apache.org/mod_mbox/nifi-dev)). For more interactive discussions, community members can often be found in the following locations:
- Apache NiFi Slack Workspace: https://apachenifi.slack.com/
2019-10-24 21:28:25 -04:00
New users can join the workspace using the following [invite link ](https://s.apache.org/nifi-community-slack ).
2019-07-25 16:18:10 -04:00
- IRC: #nifi on [irc.freenode.net ](http://webchat.freenode.net/?channels=#nifi )
2014-12-08 15:22:14 -05:00
2020-04-15 15:34:03 -04:00
To submit a feature request or bug report, please file a Jira at [https://issues.apache.org/jira/projects/NIFI/issues ](https://issues.apache.org/jira/projects/NIFI/issues ). If this is a **security vulnerability report** , please email [security@nifi.apache.org ](mailto:security@nifi.apache.org ) directly and review the [Apache NiFi Security Vulnerability Disclosure ](https://nifi.apache.org/security.html ) and [Apache Software Foundation Security ](https://www.apache.org/security/committers.html ) processes first.
2015-02-11 23:06:38 -05:00
## Documentation
2015-07-16 12:35:37 -04:00
See http://nifi.apache.org/ for the latest documentation.
2015-02-11 23:06:38 -05:00
2014-12-08 15:22:14 -05:00
## License
Except as otherwise noted this software is licensed under the
[Apache License, Version 2.0 ](http://www.apache.org/licenses/LICENSE-2.0.html )
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2015-08-15 13:12:22 -04:00
## Export Control
2017-05-08 11:09:54 -04:00
This distribution includes cryptographic software. The country in which you
2015-08-15 13:12:22 -04:00
currently reside may have restrictions on the import, possession, use, and/or
2017-05-08 11:09:54 -04:00
re-export to another country, of encryption software. BEFORE using any
encryption software, please check your country's laws, regulations and
2015-08-15 13:12:22 -04:00
policies concerning the import, possession, or use, and re-export of encryption
software, to see if this is permitted. See < http: / / www . wassenaar . org / > for more
information.
2017-05-08 11:09:54 -04:00
The U.S. Government Department of Commerce, Bureau of Industry and Security
(BIS), has classified this software as Export Commodity Control Number (ECCN)
5D002.C.1, which includes information security software using or performing
2015-08-15 13:12:22 -04:00
cryptographic functions with asymmetric algorithms. The form and manner of this
2017-05-08 11:09:54 -04:00
Apache Software Foundation distribution makes it eligible for export under the
2015-08-15 13:12:22 -04:00
License Exception ENC Technology Software Unrestricted (TSU) exception (see the
BIS Export Administration Regulations, Section 740.13) for both object code and
source code.
2017-05-08 11:09:54 -04:00
The following provides more details on the included cryptographic software:
2015-08-15 13:12:22 -04:00
2019-01-04 00:01:29 -05:00
Apache NiFi uses BouncyCastle, JCraft Inc., and the built-in
Java cryptography libraries for SSL, SSH, and the protection
2017-05-08 11:09:54 -04:00
of sensitive configuration parameters. See
2015-08-15 13:12:22 -04:00
http://bouncycastle.org/about.html
2019-01-04 00:01:29 -05:00
http://www.jcraft.com/c-info.html
2015-08-15 13:12:22 -04:00
http://www.oracle.com/us/products/export/export-regulations-345813.html
for more details on each of these libraries cryptography features.
2017-05-01 08:56:52 -04:00
[nifi]: https://nifi.apache.org/
2017-05-08 11:09:54 -04:00
[logo]: https://nifi.apache.org/assets/images/apache-nifi-logo.svg