id: version-0.66.0-org.apache.streampipes.processors.transformation.jvm.duration-value title: Calculate Duration sidebar_label: Calculate Duration original_id: org.apache.streampipes.processors.transformation.jvm.duration-value


Description

This processor calculates the duration for a given stream with a start timestamp and an end timestamp.


Required input

Two timestamp fields


Configuration

  • Start Timestamp: The first timestamp (t1)
  • End Timestamp: The second timestamp (t2)
  • Time Unit of the result

Output

Appends a new field with the difference of t2 and t1