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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 1775c0e87d [Chore]Restore SeaTunnelEngineLocalExample (#11073)
1775c0e87d is described below

commit 1775c0e87dda5ab3674a0b91e47ee2093b09fcce
Author: niumy <[email protected]>
AuthorDate: Fri Jun 12 19:05:36 2026 +0800

    [Chore]Restore SeaTunnelEngineLocalExample (#11073)
    
    Co-authored-by: niumy <[email protected]>
---
 .../example/engine/SeaTunnelEngineLocalExample.java          | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git 
a/seatunnel-examples/seatunnel-engine-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineLocalExample.java
 
b/seatunnel-examples/seatunnel-engine-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineLocalExample.java
index 6ebe266c34..3c23400214 100644
--- 
a/seatunnel-examples/seatunnel-engine-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineLocalExample.java
+++ 
b/seatunnel-examples/seatunnel-engine-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineLocalExample.java
@@ -27,7 +27,6 @@ import java.net.URISyntaxException;
 import java.net.URL;
 import java.nio.file.Paths;
 
-/** Local example that shows how to enable stain trace reporting for an engine 
job submission. */
 public class SeaTunnelEngineLocalExample {
 
     static {
@@ -37,17 +36,8 @@ public class SeaTunnelEngineLocalExample {
 
     public static void main(String[] args)
             throws FileNotFoundException, URISyntaxException, CommandException 
{
-        String configurePath =
-                args.length > 0 ? args[0] : 
"/examples/stain_trace_fake_sql_union_to_console.conf";
+        String configurePath = args.length > 0 ? args[0] : 
"/examples/fake_to_console.conf";
         String configFile = getTestConfigFile(configurePath);
-
-        // Load the stain-trace engine config (enables stain-trace-enabled + 
file output path).
-        // Only applied when the user has not explicitly overridden it via 
-Dseatunnel.config.
-        if (System.getProperty("seatunnel.config") == null) {
-            String engineConfigFile = 
getTestConfigFile("/examples/stain_trace_seatunnel.yaml");
-            System.setProperty("seatunnel.config", engineConfigFile);
-        }
-
         ClientCommandArgs clientCommandArgs = new ClientCommandArgs();
         clientCommandArgs.setConfigFile(configFile);
         clientCommandArgs.setCheckConfig(false);

Reply via email to