Skip to main content
Dagonvlg
Silver ⭐️
April 24, 2026
Question

Running NiFi 2.8 in stateless mode

Previously we used NiFi 1.24, running it in OpenShift containers via the entrypoint "./bin/nifi.sh stateless...". Now I'm trying to migrate the dataflow to version 2.8.0 and am encountering an error - the "stateless" parameter for nifi.sh is now missing. I read all the documentation in the NIFI release notes and did not find information about this anywhere. Git still says that you can run it this way (nifi-stateless-assembly readme).
Tell me, is there any possibility to run the NiFi 2.8.0 distribution via the console in stateless mode? How to use a separate nifi-stateless distribution?

4 replies

vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
April 24, 2026

Hello @Dagonvlg, 

As far as I know, NiFi 2 does not have a stateless mode to the entire service. 
That was removed. 

But what it offers is an stateless engine. You can configure it at Processor Group level: 
https://nifi.apache.org/nifi-docs/user-guide.html#stateless-execution-engine 

Translate
Regards, Andrés Fallas -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs-up button.
Dagonvlg
DagonvlgAuthor
Silver ⭐️
April 27, 2026

Hello @vafs, 
How to use nifi-stateless-2.8.0-bin.zip in this case? As I understand it, it contains everything that was removed from the main distribution nifi-2.8.0-bin.zip (i.e. stateless.properties)
Readme has not been updated for three years (https://github.com/apache/nifi/blob/rel/nifi-2.9.0/nifi-stateless/nifi-stateless-assembly/README.md#running-stateless-nifi), it still says that you can run it as a entire service


Translate
vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
May 6, 2026

Hello @Dagonvlg, 

The best option should be on NiFi UI, in that way you can execute it as stateless: 

vafs_0-1778101602076.png

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-stateless-processor-nar/1.28.0/org.apache.nifi.processors.stateless.ExecuteStateless/index.html 

Translate
Regards, Andrés Fallas -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs-up button.
DianaTorres
Community Manager
Community Manager
May 8, 2026

@Dagonvlg Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.

Translate
Regards, Diana Torres, Senior Community Moderator