[ 
https://issues.apache.org/jira/browse/NIFI-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487536#comment-15487536
 ] 

Joseph Witt commented on NIFI-2767:
-----------------------------------

Absolutely we want to support live editing but definitely not without fully 
considering the lifecycle implications of doing so in terms of when these 
values are used by components in their lifecycle.  It was intentional for them 
not to auto reload because as of yet not work has been done to consider the 
lifecycle factors and it was also expected we'd continue the work by adding 
cluster-wide variable registry and that when allowing the user to edit it 
(which *rarely* should be through a property file) that we'd properly stop 
affected components, apply the change, then start affected components.

This is not safe as-is.

> Periodically reload properties from file-based variable registry properties 
> files
> ---------------------------------------------------------------------------------
>
>                 Key: NIFI-2767
>                 URL: https://issues.apache.org/jira/browse/NIFI-2767
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joey Frazee
>            Priority: Minor
>
> Currently FileBasedVariableRegistry only loads properties when it is injected 
> into the flow controller so making updates to the properties requires a 
> restart.
> Management of data flows would be much easier if these changes could be 
> picked up without doing a (rolling) restart. It'd be helpful from an 
> administrative standpoint if the FileBasedVariableRegistry reloaded 
> properties from the properties files periodically.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to