Apache NiFi: Visual Dataflow Automation and Provenance
GitHub Repo
Apache-2.0
November 26, 2026 at 01:42 PM
0 views

Apache NiFi: Visual Dataflow Automation and Provenance

@apacheProject Author

What Apache NiFi is

Apache NiFi is a Java application for moving data between systems and doing light-to-moderate work on it along the way: routing, filtering, enrichment, format conversion, and delivery with retries. Flows are built as directed graphs on a browser canvas, run live in the same JVM, and can be changed while they run. The README sums it up as "an easy to use, powerful, and reliable system to process and distribute data" and says it automates "cybersecurity, observability, event streams, and generative AI data pipelines". The project is part of the Apache Software Foundation, licensed Apache-2.0, and has been on GitHub since December 2014.

The overview guide in the repository frames the problem as "dataflow", the plumbing between systems that create data and systems that consume it, and lists the conditions NiFi is designed around: systems fail, sources outpace consumers, data arrives "too big, too small, too fast, too slow, corrupt, wrong, or in the wrong format", priorities change, and compliance rules keep moving. NiFi's answer is to take ownership of each piece of data once it arrives, store it durably, track every decision made about it, and let an operator reshape the flow without a redeploy.

It suits platform and data engineering teams that need to connect many sources and sinks (files, SFTP, HTTP, databases, message brokers, cloud object stores, SaaS APIs) with guaranteed delivery and an audit trail, and that prefer an operated service with a UI over writing a custom integration service for each pipe. The source repository is more than the core server: it also holds NiFi Registry, MiNiFi (a lightweight agent), Stateless NiFi, the NiFi Toolkit, the Docker image build and a Python extension API. This page covers the current 2.x line, using the README, the sub-project READMEs, the Python developer and overview guides, the Docker image sources, and the release notes for 2.10.0 to 2.13.0. It also includes a hands-on check of the 2.13.0 sources run on 26 November 2026.

How NiFi works

FlowFiles, processors and connections

The overview guide maps NiFi's vocabulary onto flow-based programming. A FlowFile is one object moving through the system: a map of string attributes plus a content payload of zero or more bytes. A Processor does the work (routing, transformation or mediation) on zero or more FlowFiles per unit of work and then commits or rolls back. A Connection links processors and acts as a bounded queue, which is where prioritisation and back pressure live. The Flow Controller schedules threads for processors, and a Process Group bundles components behind input and output ports so a sub-flow can be reused like a single component.

Controller Services hold shared configuration such as database connection pools, record readers and writers, or SSL contexts, and many processors reference them. Record-oriented processors let one FlowFile carry many JSON, CSV or Avro records, so a flow does not need one FlowFile per row.

The three repositories

Per the overview, a NiFi node is a JVM with a web server for the HTTP command-and-control API, the Flow Controller, the extensions, and three pluggable repositories:

  • FlowFile Repository: the state of every FlowFile currently in the flow, by default a write-ahead log on disk.
  • Content Repository: the payload bytes, stored as blocks on one or more file systems so content I/O can be spread across volumes.
  • Provenance Repository: indexed, searchable event history for every FlowFile, used for lineage graphs and replay.

That design is the reason NiFi can promise guaranteed delivery across restarts. It is also why its performance depends on disk. The overview's own rule of thumb is to "assume roughly 50 MB per second read/write rate on modest disks or RAID volumes", and it says a large class of dataflows "should be able to efficiently reach 100 MB per second or more of throughput", adding that the FlowFile and provenance repositories eventually become the bottleneck. These are the project's estimates, not measurements made for this page.

Clustering

NiFi clusters use what the overview calls zero-leader clustering: every node runs the same flow on a different slice of the data. One node is elected Cluster Coordinator and one is the Primary Node (the release notes refer to "primary only" processors that are scheduled there). The overview names Apache ZooKeeper as the elector. The Docker start script and recent release notes also show a Kubernetes-based option: the script exposes nifi.cluster.leader.election.implementation (default CuratorLeaderElectionManager) and a Kubernetes lease prefix, and 2.13.0 fixes scheduling of primary-only, CRON-driven processors under KubernetesLeaderElectionManager. Any node's UI can be used to edit the flow, and changes are replicated to all nodes.

The NiFi family in the 2.x line

The repository ships several runtimes that share the same flow format:

  • NiFi: the full server with UI, multi-tenant authorization, clustering and durable repositories. The README lists Java 21 as the platform requirement and Python 3.10 or higher as optional.
  • NiFi Registry: in its README's words, "a central location for storage and management of shared resources across one or more instances of NiFi and/or MiNiFi". It also requires Java 21 and starts with bin/nifi-registry.sh start on http://localhost:18080/nifi-registry/. NiFi 2.x also has git-based Flow Registry Clients: the 2.10.0 notes add branch creation and Author+Committer support for git-based clients, 2.11.0 adds an initial rebase operation, and 2.13.0 adds a Gitea client next to the existing GitHub, GitLab and Bitbucket ones.
  • MiNiFi: "a complementary data collection approach" focused on collecting data "at the source of its creation", with goals of a small footprint, central management of agents, provenance generation and hand-off to NiFi for a full chain of custody. The Java agent requires Java 21 and starts with ./bin/minifi.sh start. The Stateless README also mentions a separate MiNiFi C++ sub-project.
  • Stateless NiFi: a dataflow engine without a UI that runs flows authored in NiFi, keeps in-flight data in memory (or in a scratch content directory), and acknowledges the source only when the whole flow has finished. It is covered in detail below.
  • NiFi Toolkit: a CLI that the Docker image bundles under /opt/nifi/nifi-toolkit-current.

The core Java extension API (nifi-api) is no longer a module in this repository's tree. The 2.13.0 notes show it consumed as a dependency ("Bump NiFi API to 2.13.0", NIFI-16386), and the README links it on Maven Central.

Key features

  • Browser canvas for design, control and monitoring. Flows are drawn, started, stopped and inspected in one UI, and can be modified at runtime.
  • Guaranteed delivery with back pressure. The README lists "Guaranteed delivery with retry and backoff strategies" and "Configurable prioritization for throughput and latency"; connections can cap queue size and age.
  • Data provenance. "Searchable history with configurable attributes" and "Graph data lineage from source to destination", including metadata and content for each decision, per the README.
  • Extension points. Processors, Controller Services, Reporting Tasks, Parameter Providers and Flow Registry Clients are pluggable. The tree has 72 top-level directories under nifi-extension-bundles, covering AWS, Azure, GCP, Kafka, JMS, MQTT, Elasticsearch, MongoDB, Redis, Snowflake, Salesforce, Iceberg, Splunk, SMB, SNMP and more. Some of these are shared libraries or BOMs rather than connector bundles.
  • Native Python processors. FlowFileTransform, RecordTransform and FlowFileSource classes written in Python run in separate Python processes, with dependencies installed per processor.
  • REST API. The UI is a client of the same HTTP API that automation and the Toolkit CLI use.
  • Security defaults. HTTPS with a generated self-signed certificate and generated single-user credentials out of the box; OpenID Connect, SAML 2 and LDAP for real deployments; policy-based authorization; TLS and SFTP for transport.
  • Parameters and secrets. Parameter Contexts separate environment-specific values from flow definitions. Parameter Providers (HashiCorp Vault, AWS Secrets Manager and Azure Key Vault are named in the docs and release notes) pull values from external stores.
  • Metrics. 2.13.0 adds Prometheus metrics for the Primary Node and Cluster Coordinator roles, plus lag and record metrics for ConsumeKafka and record metrics for ConsumeKinesis, which helps if your monitoring already runs on Prometheus.

What changed recently: 2.10 to 2.13

NiFi has kept a steady minor-release pace in 2026. 2.10.0 was published on GitHub on 23 June 2026, 2.11.0 on 3 August, 2.12.0 on 13 September and 2.13.0 on 26 November. The highlights, taken from each release's notes:

ReleaseIssues resolved (per notes)Highlights
2.13.0 (26 Nov 2026)Over 215Protobuf record writer; Stateless process groups can keep FlowFile content in memory; Azure Entra database password provider and Entra token auth for SQL Server; Gitea Flow Registry Client; virtual-thread scheduling strategy for processors; better upgrade support for Connectors; deprecations of BLAKE2b hashing and ConsumeKinesisStream
2.12.0 (13 Sep 2026)Over 115ChangeSQSMessageVisibilityTimeout processor; PropertyEncryptionProvider framework extension; more reproducible builds; deprecations of fine-grained Process Group and component authorization, AbstractPolicyBasedAuthorizer, PutUDP and FlowFile packaging formats v1 and v2
2.11.0 (3 Aug 2026)Over 115Initial rebase support in Registry Clients; processor and Connector backlog reporting; AGENTS.md and SECURITY.md added to the repository
2.10.0 (23 Jun 2026)Over 160Branch creation in Registry Clients; Connectors UI support; partial content-repository defragmentation; parameter references across inherited contexts; Restricted Component authorization removed

Two trends stand out. First, security and authorization are being simplified: restricted-component policies were removed in 2.10 (2.13 removes them from the frontend too), and 2.12 put fine-grained component-level policies on a deprecation path with deprecation logging. Teams with per-component access rules should read the migration guidance before upgrading. Second, a "Connectors" feature is being built out across all four releases (UI support, backlog, drain hooks, version changes, a dedicated canvas). The staged docs do not describe Connectors yet, so this page does not try to define them beyond what the notes say.

The 2.x line also dropped some 1.x behaviour. The Docker image changelog for 2.0.0 says the base image moved to bellsoft/liberica-openjdk-debian:21 "as NiFi 2.0.0 requires Java 21" and "Dropped the plain HTTP support". Not every change is a removal: 2.13.0 restores a 1.x capability for viewing upstream and downstream components (NIFI-14777).

Getting started

From source

The README builds with the bundled Maven Wrapper. The fastest path to a runnable distribution skips optional modules:

./mvnw install -T1C -am -pl :nifi-assembly
cd nifi-assembly/target/nifi-*-bin/nifi-*/
./bin/nifi.sh start

On first start NiFi generates a random username (a 36-character UUID) and password and writes them to the application log:

grep Generated logs/nifi-app*log

To replace them with your own:

./bin/nifi.sh set-single-user-credentials <username> <password>

The UI is then at https://localhost:8443/nifi behind a self-signed certificate, which the README says production deployments should replace with a certificate from a trusted CA. Release binaries are on the project's download page. Windows users run mvnw.cmd and nifi.cmd instead.

With Docker

The Docker Hub README's minimum command:

docker run --name nifi \
  -p 8443:8443 \
  -d \
  apache/nifi:latest
docker logs nifi | grep Generated

Fixed credentials can be passed in with environment variables. The README notes the password must be at least 12 characters, "otherwise NiFi will generate a random username and password":

docker run --name nifi \
  -p 8443:8443 \
  -d \
  -e SINGLE_USER_CREDENTIALS_USERNAME=admin \
  -e SINGLE_USER_CREDENTIALS_PASSWORD=ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB \
  apache/nifi:latest

The README also documents AUTH=tls, AUTH=ldap and AUTH=oidc modes, a mapping table from cluster properties to variables such as NIFI_CLUSTER_IS_NODE and NIFI_ZK_CONNECT_STRING, heap settings through NIFI_JVM_HEAP_INIT and NIFI_JVM_HEAP_MAX (both 1g by default), and NIFI_WEB_PROXY_HOST for port-mapped or proxied access. If you manage containers with Docker Compose, the same variables go in a service's environment block. The image declares volumes for conf, the three repositories, database_repository, state, logs, python_extensions and nar_extensions; mount them if the data should outlive the container.

A first Python processor

The Python developer guide's minimal FlowFileTransform:

from nifiapi.flowfiletransform import FlowFileTransform, FlowFileTransformResult

class WriteHelloWorld(FlowFileTransform):
    class Java:
        implements = ['org.apache.nifi.python.processor.FlowFileTransform']
    class ProcessorDetails:
        version = '0.0.1-SNAPSHOT'

    def __init__(self, **kwargs):
        pass

    def transform(self, context, flowfile):
        return FlowFileTransformResult(relationship = "success", contents = "Hello World", attributes = {"greeting": "hello"})

Drop the file into a Python extensions directory and NiFi discovers it by its parent class and its Java.implements inner class. The guide explains that Java and Python talk over localhost-only sockets through object proxies. Every call on a Java object (flowfile.getAttribute(), getContentsAsBytes()) is a round trip, and objects passed into transform must not be kept after the method returns. Processor dependencies go in ProcessorDetails.dependencies or a package's requirements.txt. NiFi creates a separate venv per processor type and version and installs from PyPI; for air-gapped sites, the guide describes packaging a Python processor and its dependencies as a NAR.

Stateless NiFi in practice

The Stateless README is the most candid document in the repository about trade-offs. Traditional NiFi takes ownership of data: once a FlowFile is in its repositories, NiFi is responsible for delivering it, even across restarts. Stateless does the opposite. It passes data from processor to processor without writing it to a repository and without acknowledging the source, and only acknowledges once the data reaches the end of the flow. After a crash the source simply redelivers. The README's typical case is reading from Apache Kafka or JMS, transforming, and writing elsewhere.

The README spells out the constraints:

  • Reliable, replayable sources only, or cases where data loss is acceptable.
  • One source, one destination. Fan-out to two sinks can duplicate data, because a failure on the second sink rolls back the whole session and the first sink receives the data again. The advice is to split such a flow into two flows with separate Kafka consumer groups.
  • Merging is awkward. MergeContent and MergeRecord may never see enough data in a single invocation, so set a Max Bin Age and bound the transaction with nifi.stateless.transaction.thresholds.*.
  • No failure loops. Route failures to an Output Port listed in nifi.stateless.failure.port.names, which rolls back the session so the source redelivers.
  • Watch heap. Content lives in the JVM heap unless nifi.stateless.content.repository.directory is set; a 100 GB file "will often result in an OutOfMemoryError".
  • Different runtime profile. FIFO ordering only, single-threaded processing, Site-to-Site as a client but not a server, and provenance kept in memory that can be exported but not browsed.

Running it takes an engine properties file, a dataflow properties file and a flow, either exported from the NiFi UI with "Download Flow" or pulled from NiFi Registry by bucket and flow ID:

bin/nifi.sh stateless -c -e /var/lib/nifi/stateless/config/stateless.properties -f /var/lib/nifi/stateless/flows/jms-to-kafka.properties

A minimal engine configuration needs two lines:

nifi.stateless.nar.directory=/var/lib/nifi/lib
nifi.stateless.working.directory=/var/lib/nifi/work/stateless

A minimal dataflow configuration needs one:

nifi.stateless.flow.snapshot.file=/var/lib/nifi/stateless-flows/kafka-to-hdfs.json

Missing extensions can be downloaded from Maven Central by configuring a nexus-type extension client. Parameters can come from the properties file, -p arguments, environment variables, or the built-in HashiCorp Vault and AWS Secrets Manager value providers. Inside the full server, recent releases add "Stateless process groups", which run a group with the stateless engine; 2.13.0 lets them buffer content in memory.

Hands-on, 26 November 2026

Environment. A Linux VM with 2 vCPUs and 7 GB RAM, OpenJDK 21.0.13.1 (Ubuntu build) and Python 3.13.18. What could not be done: the sandbox's egress proxy refused connections (HTTP 403 on CONNECT) to Maven Central (repo1.maven.org and repo.maven.apache.org), Docker Hub and the GitHub REST API, and Apache's download hosts were blocked as well. So no NiFi binary was downloaded or started, no container image was pulled, and no release checksum was verified. The full binary is over 1 GB in any case. Everything below was run against source files fetched from raw.githubusercontent.com at the rel/nifi-2.13.0 tag.

1. Build targets and defaults at the tag

The README at the tag is byte-identical to the one on main. The root pom.xml declares version 2.13.0, maven.compiler.release 21 and minimalJavaBuildVersion 21, which matches the README's Java 21 requirement. The nifi-resources POM that fills in the default configuration sets the initial and maximum heap to 1g, the HTTPS host to localhost and the port to 8443. It also sets nifi.python.command to python3, 100 maximum Python processes and 10 per extension type. In the shipped nifi.properties template, the nifi.python.command line is commented out. In other words, Python processors are off in a plain install until you uncomment that property. The Docker start script uncomments it for you.

2. Docker README versus the scripts that read the variables

A small Python script collected every upper-case shell variable referenced in the seven scripts under nifi-docker/dockerhub/sh (76 distinct names) and checked each against the Docker README. All 12 NIFI_SECURITY_USER_OIDC_* variables in the README are read by update_oidc_properties.sh, and every documented LDAP, keystore and cluster variable is used. In the other direction, 22 variables that the scripts honour are not mentioned in the README:

  • NIFI_SENSITIVE_PROPS_KEY, NIFI_WEB_HTTPS_HOST, NIFI_REMOTE_INPUT_HOST, NIFI_REMOTE_INPUT_SOCKET_PORT and KEY_PASSWORD
  • cluster and state: NIFI_CLUSTER_LOAD_BALANCE_HOST, NIFI_CLUSTER_LEADER_ELECTION_IMPLEMENTATION, NIFI_CLUSTER_LEADER_ELECTION_KUBERNETES_LEASE_PREFIX, NIFI_STATE_MANAGEMENT_PROVIDER_CLUSTER and NIFI_KUBERNETES_CONFIGMAP_NAME_PREFIX
  • six NIFI_ANALYTICS_* settings for connection back-pressure prediction (prediction is off by default)
  • NIFI_NAR_LIBRARY_PROVIDER_NIFI_REGISTRY_URL, which makes NiFi fetch NARs from a NiFi Registry
  • LDAP_REFERRAL_STRATEGY, LDAP_TLS_PROTOCOL, NODE_IDENTITY, NIFI_SECURITY_USER_AUTHORIZER and NIFI_SECURITY_USER_LOGIN_IDENTITY_PROVIDER (the last one is set internally in LDAP mode)

No script reads a variable for a plain HTTP port. The only script that touches nifi.web.http.port is secure.sh, and it blanks it.

3. Running the image's start script against stubbed config

The tag's start.sh and helpers were run with sh against copies of the 2.13.0 conf templates. The only change was pointing the hard-coded /opt/nifi/scripts path at a local copy, and bin/nifi.sh was replaced by a stub that logs its arguments and exits.

ScenarioResult
No variables33 property edits logged. HTTPS on 8443 with the container hostname (not localhost) as host; remote input secure on port 10000; CuratorLeaderElectionManager and zk-provider; ZooKeeper root /nifi; analytics prediction false; Python command uncommented; extension directories set to python_extensions and nar_extensions. A warning that NIFI_WEB_PROXY_HOST was not set; toolkit baseUrl set to https://<hostname>:8443; stub called with run.
NIFI_WEB_HTTPS_PORT=9443, NIFI_JVM_HEAP_MAX=2g, single-user credentials, NIFI_SENSITIVE_PROPS_KEY, NIFI_WEB_PROXY_HOSTPort 9443 in nifi.properties and the toolkit URL; java.arg.3=-Xmx2g in bootstrap.conf; sensitive key and proxy host written; stub called with set-single-user-credentials admin … before run.
AUTH=tls with no keystore variablesExit status 2: "KEYSTORE_PATH: Must specify an absolute path to the keystore being used."

The script passes credentials through without checking them; the 12-character password rule is enforced by NiFi, which was not running here. Also not tested: the ZooKeeper variables (they go through xmlstarlet, which is not installed on this VM), the LDAP and OIDC paths, and an actual container.

4. The Python extension API outside NiFi

The nifiapi package source at the tag was installed into a venv with pip, together with py4j 0.10.9.9 from PyPI. Its pyproject.toml declares version 0.0.1-13, which pip normalised to 0.0.1.post13, and requires-python >=3.9. Importing nifiapi.flowfiletransform on its own failed with AttributeError: 'NoneType' object has no attribute 'org'. The reason is that componentstate.py resolves Java enum values through the py4j gateway at import time, and properties.py also needs a gateway object. With a small stub gateway in place, the guide's WriteHelloWorld returned relationship success, contents b'Hello World' (the API encodes a str to bytes) and attributes {'greeting': 'hello'}. So unit-testing a Python processor outside NiFi is possible, but you have to mock the JVM side yourself. The guide's dependency example also has a trailing comma in version = '0.0.1-SNAPSHOT',, which Python evaluated to the tuple ('0.0.1-SNAPSHOT',).

Use cases

  • Edge-to-core collection. MiNiFi agents near sensors or servers collect data with provenance and hand it to a central NiFi cluster, preserving chain of custody as the MiNiFi README describes.
  • Feeding and draining a streaming backbone. NiFi's Kafka bundle (2.13.0 bumps the client to 4.4.0 and adds lag metrics, hex-encoded keys and tombstone handling) connects file drops, SFTP, HTTP and databases to Kafka topics and back out to stores.
  • Lakehouse ingestion. Record processors convert CSV, JSON, Excel and Protobuf into tables. 2.13.0 adds binary, UUID and geospatial conversion to PutIcebergRecord for teams writing to Apache Iceberg.
  • Security and observability pipelines. The README names cybersecurity and observability as headline use cases: collect logs and events, normalise them, filter noise and route them to SIEM or analytics stores, with provenance as an audit trail.
  • Regulated data movement. Provenance plus fine-grained lineage answers "where did this record come from and who touched it", which matters for compliance-driven transfers.
  • Kafka-to-sink microflows. Flows designed on the canvas can be run by Stateless NiFi as lightweight, replay-safe workers, embedded in another application or launched from the command line.
  • Python data manipulation. Where a team already has Python parsing or enrichment code, a RecordTransform processor can wrap it while NiFi handles queuing, retries and delivery.

How it compares

NiFi overlaps with several tools that have pages in this directory, but they sit at different layers. The table uses only what each project's own README says. Treat it as a scope comparison, not a feature matrix, and check each project's documentation before deciding.

Apache NiFiApache KafkaKestraDataX
Self-descriptionSystem "to process and distribute data""Distributed event streaming platform""Event-driven orchestration platform for data, AI, and infrastructure workflows"Offline data synchronisation tool; open-source version of Alibaba Cloud DataWorks Data Integration
Core modelFlowFiles through a graph of processors and queues, with durable repositories and provenanceEvent streaming for "high-performance data pipelines, streaming analytics, data integration" (README)Workflows of tasks triggered on schedules or eventsBatch jobs built from a Reader plugin and a Writer plugin
How flows are authoredBrowser canvas; Python or Java extensions; flows versioned in NiFi Registry or git-based registry clientsCode: Java and Scala modules built with Gradle, including clients and StreamsYAML, a no-code editor or an AI copilot, kept in sync; Git integrationReader and Writer plugin configuration (see its user guide)
Streaming vs batchContinuous, record- or file-level, with back pressureContinuous event streamsScheduled and event-driven runsBatch ("offline")
RuntimeJava 21; optional Python 3.10+README builds and tests with Java 17 and 25Docker quick start; workers talk to the control plane over gRPCDownloadable tarball
Licence (per README)Apache-2.0Apache project (see its page)Apache 2.0; separate Enterprise Edition features such as RBACApache License
Typical relation to NiFi-Complementary: NiFi often feeds or drains Kafka, and the Stateless README's main example reads from KafkaOverlaps on scheduled data jobs; Kestra orchestrates tasks, while NiFi holds and routes the data itselfOverlaps on bulk database-to-database copies; NiFi adds continuous flow and provenance

As a rule of thumb from these descriptions: if the job is "run these steps in order, on a schedule, and tell me if one fails", an orchestrator such as Kestra or Conductor is closer to the brief. If the job is "keep data moving between many systems, never drop it, and show me what happened to each record", that is NiFi's design centre. If the job is running an event-streaming backbone for many producers and consumers, that is Kafka's territory, and NiFi ships processors to produce to and consume from it.

Limits, trade-offs and things to know before adopting

  • It is an operated platform, not a library. A production NiFi has disks for three repositories, TLS material, an identity provider, and for clusters a coordinator service. The overview stresses that performance depends on disks and JVM garbage collection, and recommends planning both.
  • Java 21 is the baseline. The README, the Registry and MiNiFi READMEs and the build POM all say Java 21. Release notes mention test fixes on Java 25 (for example NIFI-16499), but the README does not list Java 25 as supported, and this page did not check it.
  • HTTPS only. Since 2.0.0 the Docker image has no plain-HTTP mode, and a fresh install generates a self-signed certificate and random credentials. Plan certificates and an identity provider from day one; set NIFI_WEB_PROXY_HOST when port-mapping, because the start script warns that otherwise "The NiFi UI may be inaccessible".
  • Upgrades carry deprecations. 2.12 deprecated fine-grained Process Group and component authorization, AbstractPolicyBasedAuthorizer, PutUDP and FlowFile packaging v1/v2; 2.13 deprecated BLAKE2b and ConsumeKinesisStream. 2.10 shipped with dedicated migration guidance. Read the notes for every minor version you skip.
  • Python processors cost round trips. Each call between Python and Java goes over a local socket, so per-record chatter adds up. The guide recommends RecordTransform and avoiding repeated Java calls. Dependencies are installed from PyPI on first use unless you ship NARs, which matters on locked-down hosts.
  • Stateless trades durability for footprint. Use it only with replayable sources and single-sink flows, as covered above.
  • Image size and build defaults. The Docker README's sample build output shows a 1.62 GB image. The Dockerfile at the 2.13.0 tag still defaults NIFI_VERSION to 2.0.0, so pass the build argument when building your own image from that directory.
  • The image fetches tools at build time. The Dockerfile installs Debian's python3 and python3-venv and pipes Astral's uv install script into a shell. Review that if your build policy forbids remote scripts.
  • Telemetry. The reviewed docs do not mention phone-home telemetry, and this hands-on did not audit network traffic from a running node.
  • Export control. The README includes an export-control notice (ECCN 5D002.C.1) because NiFi bundles cryptographic libraries such as Bouncy Castle and Apache MINA SSHD. Recent releases replace some Bouncy Castle uses with JDK APIs.

Source discrepancies found

  • "Unsecured" Docker mode. The Docker README's Capabilities section says the image runs "either unsecured or with user authentication", but its own 2.0.0 changelog says plain HTTP was dropped, and the 2.13.0 scripts have no HTTP setting.
  • Toolkit example. The Docker README shows cli.sh nifi current-user returning anonymous, which looks like an example from before HTTPS became the default. It was not re-run here.
  • Python version. The README says Python 3.10 or higher, the Python developer guide says "Python 3.10, 3.11, or 3.12", and nifiapi's pyproject.toml says >=3.9.
  • Record interface name. The guide's deployment section lists org.apache.nifi.python.processor.RecordFileTransform as a valid implements value. The bridge module in the repository tree defines RecordTransform.java and no RecordFileTransform.
  • Python extensions directory. The guide gives $NIFI_HOME/python/extensions as the default. The Docker image points nifi.python.extensions.source.directory.default at ${NIFI_HOME}/python_extensions instead.
  • Stateless CLI syntax. The Stateless README's first example passes the engine and flow files with -e and -f, while the parameter examples pass them as positional paths. One of those examples has a stray space in /var/lib/nifi/stateless/config /stateless.properties. Its Reporting Task examples still reference nifi-standard-nar:1.12.1.
  • Leader election. The overview says ZooKeeper elects the Cluster Coordinator and Primary Node. The Docker scripts and 2.13.0 notes show a Kubernetes leader-election implementation as an alternative.
  • Release dates. The 2.10.0 notes say "Release Date: June 18th, 2026", but GitHub published the release on 23 June 2026. The other three releases match their stated dates.
  • Stale contact details. The MiNiFi and Registry READMEs still list IRC on freenode as a contact channel; the main README lists Slack and the mailing lists.

Project activity

Checked 26 November 2026: latest release rel/nifi-2.13.0 (26 November 2026), 6,338 stars, licence Apache-2.0.

The apache/nifi repository had 6,338 stars, 3,011 forks, 190 watchers and 50 open issues according to the GitHub metadata fetched for this page. Issue tracking is mainly in the Apache Jira (project NIFI), so the open-issue count understates activity. GitHub reports Java as the main language. The repository was created on 12 December 2014, develops on main, is not archived or a fork, and was last pushed on 26 November 2026. The tree holds about 730 pom.xml files, covering the framework, 72 top-level extension-bundle directories, the Angular-based nifi-frontend, NiFi Registry, MiNiFi, the C2 protocol modules, Stateless NiFi, the Toolkit and the Docker builds. Four minor releases shipped between June and November 2026, each resolving 115 to 215+ issues. Documentation lives at nifi.apache.org. Questions go to the users@ and dev@ mailing lists or the Apache NiFi Slack, and vulnerabilities are reported privately to [email protected] under the ASF process described in SECURITY.md, which links to the project's published security model.

Enjoying this project?

Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.

Project
apache-nifi
Created
November 26
Last Updated
November 26, 2026 at 01:42 PM

Maintain Apache NiFi: Visual Dataflow Automation and Provenance? Add the badge to your README

Show that the project is featured on TechLogHub and send readers to this write-up.

Featured on TechLogHub
[![Featured on TechLogHub](https://techloghub.com/badge-neutral.svg)](https://techloghub.com/open-source/apache-nifi?utm_source=techloghub_badge&utm_medium=referral&utm_campaign=readme)

Find more projects like this

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.