You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2026/04/16 06:16:23 UTC

(streampipes) branch dev updated: fix: Add missing event grounding modification in debug mode (#4381)

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

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 1100b2838a fix: Add missing event grounding modification in debug mode (#4381)
1100b2838a is described below

commit 1100b2838ac639020c302ef27bad270162c6aea8
Author: Sven Oehler <43...@users.noreply.github.com>
AuthorDate: Thu Apr 16 08:16:16 2026 +0200

    fix: Add missing event grounding modification in debug mode (#4381)
---
 .../streampipes/wrapper/standalone/function/StreamPipesFunction.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/function/StreamPipesFunction.java b/streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/function/StreamPipesFunction.java
index 5878d25087..591fe8cc33 100644
--- a/streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/function/StreamPipesFunction.java
+++ b/streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/function/StreamPipesFunction.java
@@ -163,6 +163,9 @@ public abstract class StreamPipesFunction implements IStreamPipesFunctionDeclare
   private Map<String, SpOutputCollector> getOutputCollectors(FunctionId functionId) {
     this.getFunctionConfig().getOutputDataStreams().forEach((key, value) -> {
       var uniqueStreamId = getUniqueStreamId(functionId, value);
+      if (getEnvironment().getSpDebug().getValueOrDefault()) {
+        GroundingDebugUtils.modifyGrounding(value.getEventGrounding());
+      }
       this.outputCollectors.put(
           uniqueStreamId,
           ProtocolManager.makeOutputCollector(