Support Questions
Find answers, ask questions, and share your expertise

Need help to change property of the processor dynamically without NIFI GUI

Highlighted

Need help to change property of the processor dynamically without NIFI GUI

New Contributor

Hello Everyone

I had created one processor group . there are few processor in my flow which might have some property to change dynamically as per user's request .

I am thinking to provide them GUI with only those set of property without giving access to entire nifi flow.

This GUI interface will change the flow.xml.gz file but the problem is that after changing the flow file configuration when i am opening the nifi those changes are not reflecting.

Can someone suggest what should i do ?

Thanks

2 REPLIES 2
Highlighted

Re: Need help to change property of the processor dynamically without NIFI GUI

Super Guru

@Rohit Gupta

Any changes to flow.xml.gz will be reflected on NiFi only if you restart the whole NiFi instance and changing flow.xml.gz is not a good practice to do.
You can add policies in NiFi to give users access to particular process groups not the entire nifi flow.

Refer to this link for more details regards to these user management in NiFi.

Highlighted

Re: Need help to change property of the processor dynamically without NIFI GUI

Explorer
@Rohit Gupta

You can use NiFi REST API to get and update the properties of a processor.

ex - GET/processors/{id}

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

You can find help here.

Don't have an account?