Philipp Zehnder created STREAMPIPES-447:
-------------------------------------------

             Summary: Processing Element: Detect Value Change
                 Key: STREAMPIPES-447
                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-447
             Project: StreamPipes
          Issue Type: Improvement
          Components: Pipeline Elements
            Reporter: Philipp Zehnder
             Fix For: 0.69.0


The processing element should be able to detect when a numeric property change 
from one configured value to another (example: result=0 -> result=5).
h3. Required Input
 * A numeric value

h3. Configuration
 * Value of last event (example: 0)
 * Value of current event (example: 5)

h3. Output 
 *  Append Strategy (changeDetected: Boolean)

h3. Module
 * streampipes-processors-enrich-jvm

We have a new API for processors, so we only need one class (see:  [1] for an 
example)

PS.: There could also be more configurations to make the processor more generic

 

 [1] 
https://github.com/apache/incubator-streampipes-extensions/tree/dev/streampipes-processors-filters-jvm/src/main/java/org/apache/streampipes/processors/filters/jvm/processor/schema



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to