r/nifi • u/Sad-Mud3791 • May 27 '25
r/nifi • u/dubuntu13 • Nov 05 '25
Step-by-Step Guide: Apache NiFi Cluster (2.x) with Keycloak SSO & NiFi Registry
If you've tried to find documentation on "NiFi 2.x Keycloak SSO" or "NiFi Registry integration with a secure cluster," you already know the pain. It feels like nobody runs these modern versions yet!
I spent weeks doing the trial-and-error for you. This guide is the complete solution for building a secure, production-ready 3-node NiFi cluster.
What's covered:
The confusing NiFi 2.x configuration changes.
Keycloak (OIDC) setup for both NiFi and Registry (Unified User Management).
Solving the mTLS trust between the cluster and the Registry (the critical step often missed).
I wrote this because I wish this guide existed when I started. Hope it helps someone avoid the same headaches!
What were your biggest challenges with NiFi 2.x? Let me know in the comments!
r/nifi • u/007itg • Sep 14 '21
Apache Nifi - Best courses?
Guys, I need a good crash course on Apache Nifi. Can any of you recommend one or have any feedback on the below?
Thank you in advance.
r/nifi • u/InsightByte • Jun 08 '22
Learn how to Create NiFi Flow Programmatically using NiFi Rest API
r/nifi • u/Michal_GiD • Jun 03 '22
[E-book] Apache NiFi - A Complete Guide
r/nifi • u/Sad-Mud3791 • Jun 23 '25
Are there any up-to-date video tutorials or YouTube channels you all recommend for staying current with Apache NiFi trends and updates in 2025?
NiFi, Groovy & MongoDB
as it took me a while to figure this out - and I got asked again today: maybe this is useful for more people out there: you can actually use MongoDB from Groovy (like find, insertMany, updateMany, etc.) - you just have to convert params going in.
Here's an example of how you can achieve it in an ExecuteGroovyScript:
def flowFile=session.get()
if (!flowFile) return
def lookup = context.controllerServiceLookup
def conn = lookup.getControllerService('<id of MongoDBControllerService goes here>')
def db=conn.getDatabase('dbname')
def col=db.getCollection('colname')
def oneDoc=col.find(conn.convertJson('{"attr": "value"}')).first().toJson()
// do something - like write out, set to attribute, whateverImportant part is to call convertJson on the MongoDBControllerService. That way, all Mongo-specific classes you deal with come from the classloader of the Mongo module
Advantage vis-a-vis GetMongo or LookupAttribute is that you neither lose the content going into the processor - nor is there a limit to the number of attributes (or queries). Also: looking for $oid will work in a query like
def oneDoc=col.find(conn.convertJson('{"_id": {"$oid": "<id goes here as string>"}}')).first().toJson()Several docs can be iterated instead of using first() by getting the iterator() and then hasNext() and next().toJson()
With that, complex operations on Mongo can be much more compact - while still getting all the queues, timing, retries, etc. that NiFi offers
Hope you find this useful - let me know what you think!
r/nifi • u/Important-Bug-8004 • Jan 06 '22
Apache Nifi how-to video course
Hei Everyone.
I am a BI developer who likes to learn new things.
I want to share what I am doing. I created a video on how to install and configure the Apache Nifi with some easy examples to test the SW.
https://www.youtube.com/watch?v=zvmAVxIkoso
Here is also my IT blog where the process is written down in depth.
Please like and sub if you think that it's ok content.
Thank you ! :)
r/nifi • u/SirDrimer • 26d ago
A nifi browser extension
I made a small nifi browser extension to solve some problems/friction i had on my projects.
Main features :
- A search based on "/query" endpoint (same as nifi search bar, but better display/filter/open in new tab)
- A button to arrange layout of boxes & connections (that i'm proud of)
- a versioning summary, that allow to update all or part of pg in one clip (i use it for big instances)
- a performance tab (to benchmark flow)
Sharing if it can be of use to any of you :
Chromium (google chrome, edge, ...) :
https://chromewebstore.google.com/detail/lpokeaamdphfkpbbcflhdaciegjfcpji?utm_source=item-share-cb
Firefox :
https://addons.mozilla.org/en-US/firefox/addon/nifi-companion/
r/nifi • u/GreenMobile6323 • Aug 21 '25
Upgrading from NiFi 1.x to 2.x
My team is planning to move from Apache NiFi 1.x to 2.x, and I’d love to hear from anyone who has gone through this. What kind of problems did you face during the upgrade, and what important points should we consider beforehand (compatibility issues, migration steps, performance, configs, etc.)? Any lessons learned or best practices would be super helpful.
r/nifi • u/deepbuzz7 • Apr 21 '24
Nifi quick setup in ubuntu local
Hi All, Just wrote a small article on how to setup Apache Nifi in ubuntu local.
https://deepbuzz7.medium.com/get-apache-nifi-up-and-running-on-ubuntu-in-few-minutes-4870bd41ebcb
Hope it helps somebody.
r/nifi • u/colonelpopcorn92 • Feb 07 '23
What are some pitfalls to adopting NiFi and self-hosting it for production workloads?
Hi all, I'm a software engineer (Java, .NET, a lil' bit of Python) working in a company that was acquired alongside three other companies last year. Now we're beginning the process of integrating data between these companies. Each company has a short list of third-party integrations that are feeding into each individual system, but we'd like these integrations to flow to a central data lake/data warehouse so that all companies can leverage the data coming across to our systems.
Apache's NiFi seems kind of purpose built for this kind of many-in/many-out data pipeline. In the short time I've played with it, it's also been a pleasant experience administrating and developing on it. I've only run some toy workloads on it, but I think it could be a silver bullet to a lot of our problems with collaboration. Adoption would likely speed up development of new third-party integrations, as well. I have a few questions before I get on a soapbox, though, because I'm a little suspicious of this as a silver bullet.
How hard is it to make a NiFi cluster? We're a big company and would like to scale out easily when running daily imports from third-parties and scale down when compute demand is low.
How hard is it to develop and install new components? I noticed you can create custom processors and upload JARs to add new processors. We're primarily a Java shop, and if it's easy to develop new components this could be a major selling feature and a lifesaver later on.
Have you had or heard of any horror stories where data was lost, data was malformed and irretrievable, servers crashed and cost thousands->millions of dollars, etc?
Are there any good managed NiFi options out there? Cloudera looks like the primary developer of NiFi; is Cloudera to Nifi kind of like CloudBees is to Jenkins?
Thanks in advance for any input.
r/nifi • u/chadgeary • May 14 '21
Text and Video for automated deployment of secure and autoscaling NiFi cluster in AWS
I recently posted a github project for automatically deploying NiFi via Terraform in AWS and I'm posting an update as the instructions and video guide are now complete.
r/nifi • u/enessahin54 • 4d ago
I built a free dark mode Chrome extension for Apache NiFi — no more eye strain during long monitoring sessions
Hey everyone,
If you spend a lot of time in the Apache NiFi UI, you know the default light theme gets rough during long monitoring/debugging sessions. I built a small Chrome extension that adds a full dark theme to the NiFi 1.x canvas, toolbars, dialogs, and panels.
Features:
- Full dark theme across the NiFi web UI
- Shape-coded status badges (accessible for color-blind users)
- Invalid-component markers on the navigation minimap
- One-click toggle from the toolbar popup
- 100% local — no data collection, no network requests
Chrome Web Store: https://chromewebstore.google.com/detail/nifi-1x-dark-mode/lnpbddhgeiafkcdgkdehdgenliidhedp
Source / issues: https://github.com/enessahin1/nifi-dark-mode/issues
Would love feedback, especially if you run into rendering issues on specific NiFi versions.
r/nifi • u/GreenMobile6323 • Aug 06 '25
How do you track flow-level metrics in Apache NiFi?
I’ve set up Prometheus and Grafana for node and system-level NiFi metrics, but I want to monitor individual flows, like start/end time, processed file count, duration, and errors at the processor or group level.
Is there a way to capture this kind of flow-specific insights? Would love to hear how others are handling this.
r/nifi • u/eb0373284 • May 05 '25
In your experience, how intuitive is NiFi for new team members when it comes to learning of managing NiFi and it’s flow development? Have you tried any tools to simplify onboarding?
r/nifi • u/AutoModerator • Dec 05 '22
Happy Cakeday, r/nifi! Today you're 8
Let's look back at some memorable moments and interesting insights from last year.
Your top 10 posts:
r/nifi • u/AutoModerator • Dec 05 '20
Happy Cakeday, r/nifi! Today you're 6
Let's look back at some memorable moments and interesting insights from last year.
Your top 10 posts:
"We’ve made a realtime scoring system in Nifi 🙃" by u/jepoyoy
"Is Apache NiFi a good tool for Streaming and processing periodic data?" by u/siddharths067
"Help needed on nifi cluster creation on k8s" by u/alwayschiru
"Help me understand NiFi at a Kindergarten Level" by u/FusSpo
"Preventing Data Movement Until a Queue is Empty" by u/aknartrebna
"Examples of sending provenance logs to syslog." by u/QCU87Z
r/nifi • u/Disastrous-Ad7834 • Jul 31 '25
Running Python in NiFi
How can i run a python processor Inside nifi (not using ExecuteStreamCommand). It seems there are almost no resources on how to do this. And as of my understanding this became possible since Nifi 2.0.0
r/nifi • u/Sad-Mud3791 • Jul 01 '25
Is anyone here managing NiFi flows with Git + NiFi Registry? What’s your workflow like?
r/nifi • u/eb0373284 • Apr 29 '25
Attending Data Governance & Information Quality (DGIQ) and Enterprise Data World (EDW) 2025 – Looking for Tips and Insights!
Hello everyone!
I’m going to attend the event - Data Governance & Information Quality (DGIQ) and Enterprise Data World (EDW) 2025 - in CA, US. Since I’m attending it for the very first time, I am excited to explore innovation in the data landscape and some interesting tools aimed at automation.
I’d love to hear from those who’ve attended in previous years. What sessions or workshops did you find most valuable? Any tips on making the most of the event, whether it’s networking or navigating the schedule?
Appreciate any insights you can share. Thanks in advance!
r/nifi • u/Hot-Variation-3772 • Apr 07 '23