marmotdata/nifi

Discover process groups, processors and data flow lineage from Apache NiFi

Registry Pipelines Apache NiFi Apache NiFi Pipelines AssetsLineage Experimental Marmot >=0.13.0 Version 0.4.0 (latest)Version 0.3.0Version 0.2.0Version 0.1.1Version 0.1.0 Source(opens in a new tab) Install

The NiFi plugin discovers process groups and processors from Apache NiFi through its REST API. Each process group becomes a Pipeline, each processor a Task, and the connections between them become lineage. Well-known processors are also linked to the S3 and GCS buckets, Azure Blob containers, Kafka topics, database tables and Elasticsearch indexes they read or write.

Authentication

Single-user and LDAP installs take username and password; the plugin exchanges them for a bearer token. An existing bearer token goes in token. Installs secured with client certificates take client_cert and client_key. NiFi ships with a self-signed certificate, so verify_ssl: false is needed unless the certificate is trusted or ca_cert points at its CA.

The user needs view the user interface and read access to the process groups to discover, plus read access to controller services for table lineage through connection pools.

Run history

NiFi records provenance events, not runs, so the plugin emits no run history.

Naming

A Pipeline is named after its process group and a Task after its processor, and their MRNs carry the whole path from the root group, for example mrn://asset/task/nifi/nifi-flow.ingest.generate-orders. Set zone when you catalogue more than one NiFi, for example mrn://asset/pipeline/nifi@prod/nifi-flow.

Tables, topics and buckets are named the way their own plugins name them, for example <database>.<schema>.<table> for PostgreSQL. The JDBC URL of a connection pool and the bootstrap servers of a Kafka processor give the edge a host hint so Marmot can pick the right zone.