You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by go...@apache.org on 2021/06/10 12:12:25 UTC

[incubator-streampipes-extensions] 01/02: Added missing resources for LatencyMeasure processor

This is an automated email from the ASF dual-hosted git repository.

gomm pushed a commit to branch edge-extensions
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git

commit ee4746010035f998568753f6355bb25916aab6fa
Author: daniel-gomm <da...@outlook.de>
AuthorDate: Thu Jun 10 14:09:29 2021 +0200

    Added missing resources for LatencyMeasure processor
---
 .../documentation.md                               |  43 +++++++++++++++++++++
 .../icon.png                                       | Bin 0 -> 31344 bytes
 .../strings.en                                     |   2 +
 3 files changed, 45 insertions(+)

diff --git a/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/documentation.md b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/documentation.md
new file mode 100644
index 0000000..d5d63d0
--- /dev/null
+++ b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/documentation.md
@@ -0,0 +1,43 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+
+## Size Measure
+
+<p align="center"> 
+    <img src="icon.png" width="150px;" class="pe-image-documentation"/>
+</p>
+
+***
+
+## Description
+
+Measures the latency of an incoming event and appends this number to the event by serializing it.
+
+***
+
+## Required input
+The latency measure processor requires a timestamp.
+
+***
+
+## Configuration
+
+-
+
+## Output
+The latency measure processor appends the latency of the event as a double. The rest of the event stays the same.
\ No newline at end of file
diff --git a/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/icon.png b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/icon.png
new file mode 100644
index 0000000..604c7a3
Binary files /dev/null and b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/icon.png differ
diff --git a/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/strings.en b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/strings.en
new file mode 100644
index 0000000..7b2383b
--- /dev/null
+++ b/streampipes-processors-enricher-jvm/src/main/resources/org.apache.streampipes.processors.enricher.jvm.latencymeasure/strings.en
@@ -0,0 +1,2 @@
+org.apache.streampipes.processors.enricher.jvm.latencymeasure.title=Latency Measure
+org.apache.streampipes.processors.enricher.jvm.latencymeasure.description=Measures the Latency of an Event.
\ No newline at end of file