[
https://issues.apache.org/jira/browse/STREAMPIPES-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17431305#comment-17431305
]
Philipp Zehnder commented on STREAMPIPES-447:
---------------------------------------------
Processors are similar to adapters.
Within the module streampipes-processors-enrich-jvm are multiple
implementations for data processors and data sinks.
You need to add a new class that contains the implementation of the algorithm
for the processor, like in [1]
[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]
> 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
> Priority: Major
> 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)