Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 10-23-2017 10:04 AM
Dears,
How can we change a property in nifi.properties file to be updated by nifi in runtime?
Example:
Modify the following property in nifi.properties file : " nifi.variable.registry.properties " and nifi get this modification in runtime (without restarting nifi).
Thanks.
Created 10-23-2017 12:28 PM
NiFi only reads the nifi.properties file on startup. so currently edits to this file cannot be done during runtime. A restart is going to be required. The only configuration file that is regularly read by NiFi during runtime is the logback.xml file.
Thanks,
Matt
Created 10-23-2017 12:28 PM
NiFi only reads the nifi.properties file on startup. so currently edits to this file cannot be done during runtime. A restart is going to be required. The only configuration file that is regularly read by NiFi during runtime is the logback.xml file.
Thanks,
Matt
Created 10-23-2017 01:03 PM
you can try to include updateAttribute and modify particular variable in runtime. If that needs to be permanent for all flowfiles, update in nifi.properties--> nifi.variable.registry.properties (example: create custom.properties and add custom variables) and restart as suggested by @Mattclarke