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

Bryan Bende commented on NIFI-4067:
-----------------------------------

Just throwing out an alternative idea... processors that store state could 
offer a property to specify the initial value. In some cases this might be a 
toggle like "Beginning of Time vs. Current Time", or in other cases it might be 
an initial offset value like for a database table. This keeps it a little more 
restrictive to what the processor expects to store, where as arbitrarily 
modifying the state through the state manager could let someone set the value 
to anything.

> Provide an interface to manually set/update the state of a processor
> --------------------------------------------------------------------
>
>                 Key: NIFI-4067
>                 URL: https://issues.apache.org/jira/browse/NIFI-4067
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Pierre Villard
>
> Some processors are using a state manager and it would be useful to provide 
> an interface allowing a privileged used to set/update the information stored 
> in it. I believe some edge cases should be discussed but such an approach 
> would allow a flow to be deployed without the need of processing large amount 
> of existing data when only the newest data (generated once the workflow is 
> started) is required.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to