15

I am new to apache NIFI. I was kind of wondering where is the save button. I tried a sample from a tutorial that I saw on youtube. I would like to save all the processors that I created for future reference. I don't see any save button. Is is possible to save my work open later.? Or open in another machine.?

Please Help.

2 Answers 2

17

Apache NiFi automatically saves your flow for you. The flow configuration file is stored in ./conf/flow.xml.gz by default. NiFi also maintains an archive of previous versions in ./conf/archive. See the Core Properties settings for changing these settings. It is possible to backup and restore the flow configuration through these files.

Apache NiFi also has a Templates feature that makes it easy to save a selection from your flow, export it from the UI, and share it with other NiFi installations. Templates may be a closer approximation of a "save" button.

3
  • I am able to see all the files.And I also created template which I am able to view. Can you please tell me how to open them on NIFI's UI. I want to view the the processors. When I try to open them all i can see is XML code. Commented Sep 22, 2017 at 13:40
  • NiFi runs one and only one flow configuration at a time, from flow.xml.gz by default. You can backup and restore that file, or use it to recreate your flow on another machine. But NiFi does not open/close arbitrary files, you just modify the running flow by manually making changes or deploying templates in your flow.
    – James
    Commented Sep 23, 2017 at 5:33
  • To create a minifi configuration, you are supposed to use nifi's gui. Instructions: Commented May 15, 2019 at 14:39
5

The Apache Nifi Registry is another option. You can version processor groups, commit changes to the registry, revert back, add comments, etc. I see it as similar to version control such as Git. It's helpful in collaborative settings as well as promoting changes from development to production.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.