You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/contribution/setup.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,40 +80,48 @@ After all the above things are done, you just finish the environment setup and c
80
80
of box. All examples are in module `seatunnel-examples`, you could pick one you are interested in, [Running Or Debugging
81
81
It In IDEA](https://www.jetbrains.com/help/idea/run-debug-configuration.html) as you wish.
82
82
83
-
Here we use `seatunnel-examples/seatunnel-flink-connector-v2-example/src/main/java/org/apache/seatunnel/example/flink/v2/SeaTunnelApiExample.java`
83
+
Here we use `seatunnel-examples/seatunnel-engine-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineExample.java`
84
84
as an example, when you run it successfully you can see the output as below:
85
85
86
86
```log
87
-
+I[Ricky Huo, 71]
88
-
+I[Gary, 12]
89
-
+I[Ricky Huo, 93]
90
-
...
91
-
...
92
-
+I[Ricky Huo, 83]
87
+
2024-08-10 11:45:32,839 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand -
88
+
***********************************************
89
+
Job Statistic Information
90
+
***********************************************
91
+
Start Time : 2024-08-10 11:45:30
92
+
End Time : 2024-08-10 11:45:32
93
+
Total Time(s) : 2
94
+
Total Read Count : 5
95
+
Total Write Count : 5
96
+
Total Failed Count : 0
97
+
***********************************************
93
98
```
94
99
95
100
## What's More
96
101
97
102
All our examples use simple source and sink to make it less dependent and easy to run. You can change the example configuration
98
103
in `resources/examples`. You can change your configuration as below, if you want to use PostgreSQL as the source and
99
104
sink to console.
105
+
Please note that when using connectors other than FakeSource and Console, you need to modify the dependencies in the `pom.xml` file of the corresponding submodule of seatunnel-example.
0 commit comments