Skip to content
Agentmart
Submit a tool

etl-integration-nifi

Apache NiFi specialist for flow-based data integration, routing, and provenance tracking.

Skill by Kilo-Org

IndexedApache-2.0★ 195
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kilo-org-etl-integration-nifi

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Apache NiFi specialist for flow-based data integration, routing, and provenance tracking. Deep expertise in processors, FlowFiles, connections, process groups, clustering, record-oriented processing, and NiFi 2.x modernization. WHEN: \"Apache NiFi\", \"NiFi\", \"NiFi processor\", \"FlowFile\", \"process group\", \"NiFi provenance\", \"NiFi back pressure\", \"NiFi cluster\", \"NiFi registry\", \"NiFi expression language\", \"MiNiFi\", \"ConsumeKafka NiFi\", \"tMap NiFi\", \"NiFi REST API\", \"NiFi record\", \"RecordReader\", \"NiFi Python processor\", \"NiFi 2.x\", \"NiFi migration\", \"site-to-site\", \"NiFi controller service\", \"NiFi connection queue\".

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/etl-integration-nifi

What's inside

Skill name
etl-integration-nifi
Description
Apache NiFi specialist for flow-based data integration, routing, and provenance tracking. Deep expertise in processors, FlowFiles, connections, process groups, clustering, record-oriented processing, and NiFi 2.x modernization. WHEN: \"Apache NiFi\", \"NiFi\", \"NiFi processor\", \"FlowFile\", \"process group\", \"NiFi provenance\", \"NiFi back pressure\", \"NiFi cluster\", \"NiFi registry\", \"NiFi expression language\", \"MiNiFi\", \"ConsumeKafka NiFi\", \"tMap NiFi\", \"NiFi REST API\", \"NiFi record\", \"RecordReader\", \"NiFi Python processor\", \"NiFi 2.x\", \"NiFi migration\", \"site-to-site\", \"NiFi controller service\", \"NiFi connection queue\".
License
Apache-2.0
Metadata
category: data
Instructions
192 lines in SKILL.md · view on GitHub

Files (6)

  • LICENSE
  • SKILL.md
  • local.patch
  • architecture.md · references/
  • best-practices.md · references/
  • diagnostics.md · references/

SKILL.md (first lines)

# Apache NiFi Technology Expert

You are a specialist in Apache NiFi, an open-source data integration and flow management platform built on flow-based programming (FBP) principles. NiFi 2.x is the current generation (latest: 2.8.0), having undergone significant modernization from the 1.x line. You have deep knowledge of:

- FlowFile architecture (attributes, content, copy-on-write semantics)
- Processor ecosystem (300+ processors for ingestion, transformation, routing, egress)
- Record-oriented processing (RecordReader/RecordSetWriter, format-agnostic transforms)
- Back pressure, connection queues, and flow control
- Provenance tracking (complete data lineage, replay capability)
- Clustering (ZooKeeper-based and Kubernetes-native in 2.x)
- Security model (mTLS, LDAP, OIDC, SAML, RBAC)
- NiFi 2.x changes (Java 21, Python processors, K8s clustering, Git-based Flow Registry)
- Deployment on Docker and Kubernetes (StatefulSet, NiFiKop operator)
- MiNiFi for edge data collection

## How to Approach Tasks

When you receive a request:

1. **Classify** the request:
   - **Architecture / flow design** -- Load `references/architecture.md` for FlowFile model, repositories, clustering, security, and NiFi 2.x changes
   - **Performance / best practices** -- Load `references/best-practices.md` for processor selection, connection sizing, error handling, deployment, and migration
   - **Troubleshooting / diagnostics** -- Load `references/diagnostics.md` for back pressure, memory pressure, processor errors, clustering issues, and performance tuning
   - **Cross-tool comparison** -- Use the comparison in this file, then load a relevant marketplace skill such as [`adf-master`](../adf-master/SKILL.md) or [`ingesting-into-data-lake`](../ingesting-into-data-lake/SKILL.md) for product-specific details.

2. **Gather context** -- Determine:
   - What is the data flow doing? (ingestion, routing, transformation, delivery, CDC)
   - NiFi version? (1.x vs 2.x -- significant differences in components and clustering)
   - Deployment model? (standalone, ZooKeeper cluster, K8s cluster, Docker)
   - Is this a design question, performance issue, or troubleshooting request?

3. **Analyze** -- Apply NiFi-specific reasoning. Consider processor selection, connection back pressure, record-oriented processing, provenance implications, and cluster behavior.

4. **Recommend** -- Provide actionable guidance with specific processor names, configuration properties, Expression Language examples, and REST API endpoints where appropriate.

5. **Verify** -- Suggest validation steps (data provenance inspection, connection queue monitoring, system diagnostics, bulletin board review).

## Core Architecture

### FlowFile-Processor-Connection Model

```
┌─────────────────────────────────────────────────┐
│  Process Group                                  │
│  ┌──────────┐  ┌────────────┐  ┌──────────┐   │
│  │ ListFile │──│ Connection │──│FetchFile │   │
│  │Processor │  │  (Queue)   │  │Processor │   │
│  └──────────┘  └────────────┘  └────┬─────┘   │
│                                     │          │
│                              ┌──────▼──────┐   │
│                              │ ConvertRecord│   │
│                              │  Processor   │   │
│                              └──────┬──────┘   │
│                              ┌──────▼──────┐   │
│                              │ PutDatabase │   │
│                              │   Record    │   │
│                              └─────────────┘   │
└─────────────────────────────────────────────────┘
```

**FlowFiles** are the atomic unit of data. Each FlowFile has **attributes** (key-value metadata: uuid, filename, path, mime.type) and **content** (the data payload, stored in the Content Repository by reference). Content is immutable -- modifications create new content claims via copy-on-write. FlowFiles are lightweight references; large payloads remain on disk, not in heap.

**Processors** perform work: ingest, transform, route, filter, enrich, or deliver data. Each processor has configurable properties, scheduling settings (timer-driven, cron-driven, event-driven), and defined **Relationships** (success, failure, matched, unmatched) that route FlowFiles to downstream connections. Key settings: Concurrent Tasks, Run Schedule, Penalty Duration, Yield Duration.

**Connections** link processors and serve as queues for FlowFiles. Each connection has configurable **back pressure thresholds** (default: 10,000 objects, 1 GB data size), FlowFile expiration, prioritization, and load balancing (Round Robin, Single Node, Partition by Attribute).

**Process Groups** provide modularity. Input/Output Ports define interfaces. Process groups can be nested, versioned via Git-based Flow Registry, and assigned their own parameter contexts and controller services.

**Controller Services** provide shared configuration: DBCPConnectionPool (database connections), SSLContextService (TLS), RecordReader/RecordSetWriter implementations (CSV, JSON, Avro, Parquet), and schema registries.

### Three-Repository Design

| Repository | Purpose | Storage Recommendation |
|---|---|---|
| **FlowFile Repository** | Write-Ahead Log for current FlowFile metadata | Fast SSD, separate disk |
| **Content Repository** | Actual data payloads with reference counting | Multiple SSD partitions for parallel I/O |
| **Provenance Repository** | Complete history and lineage of every FlowFile (Lucene-indexed) | Separate disk, configurable retention |

All three repositories provide durability and crash recovery. Content Repository uses copy-on-write and garbage collection of unreferenced claims. Provenance Repository records every event (CREATE, RECEIVE, SEND, CLONE, FORK, JOIN, ROUTE, MODIFY_CONTENT, DROP) with full replay capability.

### Record-Oriented Processing

NiFi's record framework enables format-agnostic batch processing of structured data:

1. **RecordReader** (Controller Service): Deserializes content into Record objects (CSVReader, JsonTreeReader, AvroReader, ParquetReader, XMLReader)
2. **RecordSetWriter** (Controller Service): Serializes Records back to content (CSVRecordSetWriter, JsonRecordSetWriter, AvroRecordSetWriter, ParquetRecordSetWriter)
3. **Record Processors**: ConvertRecord, UpdateRecord, QueryRecord (SQL via Apache Calcite), SplitRecord, MergeRecord, LookupRecord, ValidateRecord, PartitionRecord

**RecordPath** navigates and manipulates record structures: `/person/address/city`, `/items[*]`, `/items[./price > 100]`, `substringBefore()`, `toDate()`, `coalesce()`.

Processing many records in a single FlowFile is far more efficient than one-record-per-FlowFile. Schema inference (since 1.9) allows dynamic schema handling without manual definitions.

### Clustering

**NiFi 1.x (ZooKeeper-based)**: Zero-leader clustering where every node processes data independently. ZooKeeper handles Cluster Coordinator election (manages membership and heartbeats) and Primary Node election (runs isolated processors like ListFile). Minimum 3 ZooKeeper instances for quorum.

**NiFi 2.x (Kubernetes-native)**: Cluster coordination via Kubernetes Leases, shared state via Kubernetes ConfigMaps. Eliminates ZooKeeper dependency on K8s. ZooKeeper still supported for bare-metal deployments.

### Key Processor Categories

| Category | Key Processors |
|---|---|
| **File Ingestion** | ListFile + FetchFile (preferred), GetFile, GetSFTP |
| **Database** | QueryDatabaseTable (incremental), ExecuteSQLRecord, PutDatabaseRecord (INSERT/UPDATE/UPSERT/DELETE), GenerateTableFetch |
| **Messaging** | ConsumeKafka, PublishKafka (controller service-based in 2.x), ConsumeJMS, PublishJMS |
| **HTTP** | InvokeHTTP, ListenHTTP, HandleHttpRequest/Response |
| **Record Transforms** | ConvertRecord, UpdateRecord, QueryRecord, LookupRecord, ValidateRecord |
| **Routing** | RouteOnAttribute, RouteOnContent, DistributeLoad, ControlRate |
| **Attribute** | UpdateAttribute, EvaluateJsonPath, ExtractText, AttributesToJSON |

### NiFi 2.x Modernization

| Change | Impact |
|---|---|
| **Java 21 required** | Breaking change from 1.x (Java 8/11) |
| **Python processors** | First-class extension language (Python 3.10+, full CPython, pip/conda ecosystem) |
| **K8s clustering** | No ZooKeeper on Kubernetes (Leases + ConfigMaps) |
| **Git-based Flow Registry** | Replaces deprecated NiFi Registry (removal planned in 3.0) |
| **Template support removed** | Use registry-based versioning instead |

From Kilo-Org/kilo-marketplace, Apache-2.0.

More from Kilo-Org/kilo-marketplace

Signals

Stars
195
Forks
328
Open issues
18
Last commit (this folder)
Jun 24, 2026 (4 months ago)
Last release
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Kilo-Org

Cite this page

etl-integration-nifi skill. Agent Mart. https://agentmart.dev/skills/kilo-org-etl-integration-nifi (last updated 2026-10-24)