Re: Processor with State

2016-03-02 Thread Joe Percivall
I created a jira ticket to track this idea for a processor that enables updating an attribute using state, which should enable the very basics of data science: https://issues.apache.org/jira/browse/NIFI-1582 Joe- - - - - - Joseph Percivall linkedin.com/in/Percivall e: joeperciv...@yahoo.com

Re: Processor with State

2016-03-02 Thread Joe Percivall
Hello Claudio, Your use-case actually could leverage a couple of recently added features to create a really cool open-source processor. The two key features that were added are State Management and the ability to reference processor specific variables in expression language. You can take a

Re: Processor with State

2016-02-25 Thread Claudio Caldato
I expect that in the future I’ll need something a little more sophisticated but for now my problem is very simple: I want to be able to trigger an alert (only once) when an attribute in an incoming stream, for instance, goes over a predefined threshold. The Processor should then trigger (only

Processor with State

2016-02-24 Thread Claudio Caldato
I need to be able to store a simple value (it can be true/false) in the processor across messages, basically I need a processor with a local state (set of properties) that I can use to set the value of properties on output messages Can it be done or do I need to build a custom processor?