Uploaded image for project: 'StreamPipes'
  1. StreamPipes
  2. STREAMPIPES-447

Processing Element: Detect Value Change

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.69.0
    • Pipeline Elements
    • None

    Description

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

      Required Input

      • A numeric value

      Configuration

      • Value of last event (example: 0)
      • Value of current event (example: 5)

      Output 

      •  Append Strategy (changeDetected: Boolean)

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            zehnder Philipp Zehnder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: