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

github-merge-queue[bot] 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 be4b850f1d [Docs] Fix false scheduling claim, checkpoint default and 
zh parity issues in Zeta docs (#13282)
be4b850f1d is described below

commit be4b850f1d1c97256cc34973244f0b4a1cf25c7e
Author: Jast <[email protected]>
AuthorDate: Wed Nov 25 12:13:44 2026 +0000

    [Docs] Fix false scheduling claim, checkpoint default and zh parity issues 
in Zeta docs (#13282)
    
    Co-authored-by: zhangshenghang 
<[email protected]>
    Co-authored-by: jast <[email protected]>
---
 docs/en/connectors/source/OssJindoFile.md          |   2 +-
 docs/en/engines/zeta/hybrid-cluster-deployment.md  |   2 +-
 .../engines/zeta/separated-cluster-deployment.md   |   2 +-
 docs/en/engines/zeta/tuning-guide.md               |   2 +-
 docs/zh/architecture/engine/dag-execution.md       |   9 +
 docs/zh/architecture/engine/engine-architecture.md |   7 +
 .../fault-tolerance/checkpoint-mechanism.md        |   6 +
 docs/zh/engines/zeta/hybrid-cluster-deployment.md  |   2 +-
 docs/zh/engines/zeta/openapi-v2.yaml               | 190 +++++++++++++++++++++
 docs/zh/engines/zeta/rest-api-v2.md                |   2 +-
 .../engines/zeta/separated-cluster-deployment.md   |   2 +-
 docs/zh/engines/zeta/tuning-guide.md               |   2 +-
 12 files changed, 220 insertions(+), 8 deletions(-)

diff --git a/docs/en/connectors/source/OssJindoFile.md 
b/docs/en/connectors/source/OssJindoFile.md
index 093a9b311f..77f22b9e15 100644
--- a/docs/en/connectors/source/OssJindoFile.md
+++ b/docs/en/connectors/source/OssJindoFile.md
@@ -86,7 +86,7 @@ It only supports hadoop version **2.9.X+**.
 | compress_codec             | string  | no       | none                       
 | The compression codec used when reading files. |
 | archive_compress_codec     | string  | no       | none                       
 | The archive compression codec used when reading archive files. |
 | encoding                   | string  | no       | UTF-8                      
 | The character encoding used when reading `json`, `text`, `csv` or `xml` 
files. |
-| null_format                | string  | no       | -                          
 | Only used in `text` format; specifies the string that should be parsed as 
`null`. |
+| null_format                | string  | no       | -                          
 | Only used when `file_format_type` is `text` or `csv`; specifies the string 
that should be parsed as `null`. |
 | binary_chunk_size          | int     | no       | 1024                       
 | Only used when `file_format_type` is binary. The chunk size (in bytes) for 
reading binary files. Default is 1024 bytes. Larger values may improve 
performance for large files but use more memory. |
 | binary_complete_file_mode  | boolean | no       | false                      
 | Only used when `file_format_type` is binary. Whether to read the complete 
file as a single chunk instead of splitting it into chunks. |
 | common-options             |         | no       | -                          
 | Source plugin common parameters, please refer to [Source Common 
Options](../common-options/source-common-options.md) for details. |
diff --git a/docs/en/engines/zeta/hybrid-cluster-deployment.md 
b/docs/en/engines/zeta/hybrid-cluster-deployment.md
index bc2a88adf6..b1d0fe1132 100644
--- a/docs/en/engines/zeta/hybrid-cluster-deployment.md
+++ b/docs/en/engines/zeta/hybrid-cluster-deployment.md
@@ -184,7 +184,7 @@ seatunnel:
     job-schedule-strategy: WAIT
 ```
 
-When `dynamic-slot: true` is used, the `job-schedule-strategy: WAIT` 
configuration will become invalid and will be forcibly changed to 
`job-schedule-strategy: REJECT`, because this parameter is meaningless in 
dynamic slots.
+The `job-schedule-strategy` configuration is applied regardless of 
`dynamic-slot`. When resources are insufficient, `WAIT` keeps the job pending 
and retries the scheduling every 3 seconds, while `REJECT` fails the job 
immediately.
 
 ### 4.7 Coordinator Service
 
diff --git a/docs/en/engines/zeta/separated-cluster-deployment.md 
b/docs/en/engines/zeta/separated-cluster-deployment.md
index bc6f6109b3..028a22ae48 100644
--- a/docs/en/engines/zeta/separated-cluster-deployment.md
+++ b/docs/en/engines/zeta/separated-cluster-deployment.md
@@ -429,7 +429,7 @@ seatunnel:
   engine:
     job-schedule-strategy: WAIT
 ```
-When `dynamic-slot: true` is used, the `job-schedule-strategy: WAIT` 
configuration will become invalid and will be forcibly changed to 
`job-schedule-strategy: REJECT`, because this parameter is meaningless in 
dynamic slots.
+The `job-schedule-strategy` configuration is applied regardless of 
`dynamic-slot`. When resources are insufficient, `WAIT` keeps the job pending 
and retries the scheduling every 3 seconds, while `REJECT` fails the job 
immediately.
 
 
 ### 4.8 Coordinator Service
diff --git a/docs/en/engines/zeta/tuning-guide.md 
b/docs/en/engines/zeta/tuning-guide.md
index 6da4a33027..1ab36f42ad 100644
--- a/docs/en/engines/zeta/tuning-guide.md
+++ b/docs/en/engines/zeta/tuning-guide.md
@@ -180,7 +180,7 @@ grep "SlowOperationDetector" 
"$SEATUNNEL_HOME"/logs/seatunnel-engine-*.log | tai
 
 Correlate the timestamps with:
 - Job submission events (REST API calls)
-- Checkpoint intervals (every 5 minutes by default, 
`seatunnel.engine.checkpoint.interval`)
+- Checkpoint intervals (the engine default is 300000 ms; the shipped 
`config/seatunnel.yaml` template sets `checkpoint.interval: 10000`)
 - High-load periods (peak data ingestion)
 
 #### Step 2: Check overall node health
diff --git a/docs/zh/architecture/engine/dag-execution.md 
b/docs/zh/architecture/engine/dag-execution.md
index 8a468d7b9d..9103814c4f 100644
--- a/docs/zh/architecture/engine/dag-execution.md
+++ b/docs/zh/architecture/engine/dag-execution.md
@@ -566,6 +566,15 @@ sink {
 - [架构概述](../overview.md)
 
 ## 12. 参考资料
+
+### 关键源码文件
+
+- 
[LogicalDag.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/logical/LogicalDag.java)
+- 
[PhysicalPlan.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/PhysicalPlan.java)
+- 
[SubPlan.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/SubPlan.java)
+- 
[PhysicalVertex.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/PhysicalVertex.java)
+- 
[TaskGroupDefaultImpl.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/execution/TaskGroupDefaultImpl.java)
+
 ### 进一步阅读
 
 - [Google Borg Paper](https://research.google/pubs/pub43438/) - 任务调度灵感
diff --git a/docs/zh/architecture/engine/engine-architecture.md 
b/docs/zh/architecture/engine/engine-architecture.md
index f0863984fa..f9e959f16c 100644
--- a/docs/zh/architecture/engine/engine-architecture.md
+++ b/docs/zh/architecture/engine/engine-architecture.md
@@ -513,6 +513,13 @@ env {
 - [DAG 执行](dag-execution.md)
 
 ## 10. 参考资料
+
+### 关键源码文件
+
+- 
引擎核心:`seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/`
+- 
DAG:`seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/`
+- 
检查点:`seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/checkpoint/`
+
 ### 进一步阅读
 
 - [Hazelcast IMDG](https://docs.hazelcast.com/imdg/latest/)
diff --git a/docs/zh/architecture/fault-tolerance/checkpoint-mechanism.md 
b/docs/zh/architecture/fault-tolerance/checkpoint-mechanism.md
index 668c4be064..065e25b87e 100644
--- a/docs/zh/architecture/fault-tolerance/checkpoint-mechanism.md
+++ b/docs/zh/architecture/fault-tolerance/checkpoint-mechanism.md
@@ -517,6 +517,12 @@ seatunnel:
 
 ## 9. 参考资料
 
+### 关键源码文件
+
+- 
[CheckpointCoordinator.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/checkpoint/CheckpointCoordinator.java)
+- 
[PendingCheckpoint.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/checkpoint/PendingCheckpoint.java)
+- 
[CheckpointStorage.java](https://github.com/apache/seatunnel/blob/dev/seatunnel-engine/seatunnel-engine-storage/checkpoint-storage-api/src/main/java/org/apache/seatunnel/engine/checkpoint/storage/api/CheckpointStorage.java)
+
 ### 学术论文
 
 - Chandy, K. M., & Lamport, L. (1985). ["Distributed Snapshots: Determining 
Global States of Distributed 
Systems"](https://lamport.azurewebsites.net/pubs/chandy.pdf)
diff --git a/docs/zh/engines/zeta/hybrid-cluster-deployment.md 
b/docs/zh/engines/zeta/hybrid-cluster-deployment.md
index 602f5309df..d338f2b35a 100644
--- a/docs/zh/engines/zeta/hybrid-cluster-deployment.md
+++ b/docs/zh/engines/zeta/hybrid-cluster-deployment.md
@@ -182,7 +182,7 @@ seatunnel:
     job-schedule-strategy: WAIT
 ```
 
-当`dynamic-slot: true`时,`job-schedule-strategy: WAIT` 
配置会失效,将被强制修改为`job-schedule-strategy: REJECT`,因为动态Slot时该参数没有意义,可以直接提交。
+`job-schedule-strategy` 的行为不受 `dynamic-slot` 影响。当资源不足时,`WAIT` 会将作业保持在等待队列中并每隔 
3 秒重试调度,`REJECT` 则直接使作业失败。
 
 ### 4.7 Coordinator Service
 
diff --git a/docs/zh/engines/zeta/openapi-v2.yaml 
b/docs/zh/engines/zeta/openapi-v2.yaml
new file mode 100644
index 0000000000..687a7bf45a
--- /dev/null
+++ b/docs/zh/engines/zeta/openapi-v2.yaml
@@ -0,0 +1,190 @@
+# 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.
+
+openapi: 3.1.0
+info:
+  title: SeaTunnel Zeta REST v2 (read-only subset)
+  version: 0.1.0
+  description: >-
+    This initial contract covers only GET /overview and GET /resource/workers.
+    Other REST v2 endpoints are not yet described. The YAML is maintained with
+    the Jetty servlet routes and response tests in this repository.
+servers:
+  - url: http://localhost:8080
+    description: >-
+      Example only. Set the scheme, host, port, and configured context path for
+      your running Zeta REST service before using a generated client. Use HTTPS
+      when sending Basic authentication credentials beyond localhost.
+security:
+  - basicAuth: []
+  - {}
+paths:
+  /overview:
+    get:
+      operationId: getOverview
+      summary: Get cluster overview
+      description: >-
+        Optional query keys filter the worker and slot totals by worker tags.
+        Job counts are cluster-wide. Count fields are JSON strings in this
+        servlet's current response, even though their source fields are 
numeric.
+      parameters:
+        - name: tags
+          in: query
+          required: false
+          description: >-
+            Free-form worker tag keys and string values, serialized as
+            key=value pairs such as region=west&team=data. There is no literal
+            tags query key.
+          style: form
+          explode: true
+          schema:
+            type: object
+            additionalProperties:
+              type: string
+      responses:
+        '200':
+          description: Current cluster overview.
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Overview'
+        '401':
+          description: Basic authentication is enabled and credentials are 
missing or invalid.
+        '500':
+          description: The server could not complete the request; error bodies 
vary.
+  /resource/workers:
+    get:
+      operationId: getWorkerResources
+      summary: Get worker resource snapshot
+      description: >-
+        Returns the latest worker resource projection. During a master
+        transition, available is false and workers is empty; HTTP 200 still
+        indicates a successfully delivered snapshot.
+      responses:
+        '200':
+          description: Point-in-time worker resource snapshot.
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/WorkerResourceSnapshot'
+        '401':
+          description: Basic authentication is enabled and credentials are 
missing or invalid.
+        '500':
+          description: The server could not complete the request; error bodies 
vary.
+components:
+  securitySchemes:
+    basicAuth:
+      type: http
+      scheme: basic
+      description: Optional; configured on the Zeta Jetty service.
+  schemas:
+    Overview:
+      type: object
+      required:
+        - projectVersion
+        - gitCommitAbbrev
+        - totalSlot
+        - unassignedSlot
+        - runningJobs
+        - finishedJobs
+        - failedJobs
+        - pendingJobs
+        - cancelledJobs
+        - workers
+      properties:
+        projectVersion:
+          type: string
+        gitCommitAbbrev:
+          type: string
+        totalSlot:
+          $ref: '#/components/schemas/DecimalCountString'
+        unassignedSlot:
+          $ref: '#/components/schemas/DecimalCountString'
+        runningJobs:
+          $ref: '#/components/schemas/DecimalCountString'
+        finishedJobs:
+          $ref: '#/components/schemas/DecimalCountString'
+        failedJobs:
+          $ref: '#/components/schemas/DecimalCountString'
+        pendingJobs:
+          $ref: '#/components/schemas/DecimalCountString'
+        cancelledJobs:
+          $ref: '#/components/schemas/DecimalCountString'
+        workers:
+          $ref: '#/components/schemas/DecimalCountString'
+    DecimalCountString:
+      type: string
+      pattern: '^[0-9]+$'
+      description: A non-negative count serialized as a decimal JSON string.
+    WorkerResourceSnapshot:
+      type: object
+      required: [available, collectedAt, workers]
+      properties:
+        available:
+          type: boolean
+          description: False when the resource projection could not be 
collected.
+        collectedAt:
+          type: integer
+          format: int64
+          description: Snapshot collection time in Unix epoch milliseconds.
+        workers:
+          type: array
+          items:
+            $ref: '#/components/schemas/WorkerResourceDiagnostic'
+    WorkerResourceDiagnostic:
+      type: object
+      required: [address, tags, totalSlots, freeSlots, usedSlots, dynamicSlot, 
runningJobIds]
+      properties:
+        address:
+          type: string
+        tags:
+          type: object
+          additionalProperties:
+            type: string
+        totalSlots:
+          type: integer
+          format: int32
+          description: For dynamic slots, current assigned plus unassigned 
slots.
+        freeSlots:
+          type: integer
+          format: int32
+        usedSlots:
+          type: integer
+          format: int32
+        dynamicSlot:
+          type: boolean
+        totalCpuCores:
+          type: integer
+          format: int32
+        availableCpuCores:
+          type: integer
+          format: int32
+        totalHeapMemoryBytes:
+          type: integer
+          format: int64
+        availableHeapMemoryBytes:
+          type: integer
+          format: int64
+        cpuUsage:
+          type: number
+          format: double
+        memUsage:
+          type: number
+          format: double
+        runningJobIds:
+          type: array
+          items:
+            type: integer
+            format: int64
diff --git a/docs/zh/engines/zeta/rest-api-v2.md 
b/docs/zh/engines/zeta/rest-api-v2.md
index 2fcf7d37e2..b6363c2559 100644
--- a/docs/zh/engines/zeta/rest-api-v2.md
+++ b/docs/zh/engines/zeta/rest-api-v2.md
@@ -85,7 +85,7 @@ seatunnel:
 
 ## API参考
 
-[REST v2 只读接口的 OpenAPI 3.1 规范](@site/docs/engines/zeta/openapi-v2.yaml)目前仅覆盖 
`GET /overview` 和 `GET /resource/workers`。下文的其他接口仍有文档,但尚未纳入机器可读规范。该规范与 Servlet 
路由注册及响应测试一起维护。使用生成的客户端时,请按实际地址、端口及可选的上下文路径设置基础 URL。是否使用 Basic 
认证取决于服务端配置;向非本机发送凭据时请使用 HTTPS。
+[REST v2 只读接口的 OpenAPI 3.1 规范](openapi-v2.yaml)目前仅覆盖 `GET /overview` 和 `GET 
/resource/workers`。下文的其他接口仍有文档,但尚未纳入机器可读规范。该规范与 Servlet 
路由注册及响应测试一起维护。使用生成的客户端时,请按实际地址、端口及可选的上下文路径设置基础 URL。是否使用 Basic 
认证取决于服务端配置;向非本机发送凭据时请使用 HTTPS。
 
 ### 获取 Connector 的 OptionRule
 
diff --git a/docs/zh/engines/zeta/separated-cluster-deployment.md 
b/docs/zh/engines/zeta/separated-cluster-deployment.md
index 1af7e474d8..7eba3b8ee0 100644
--- a/docs/zh/engines/zeta/separated-cluster-deployment.md
+++ b/docs/zh/engines/zeta/separated-cluster-deployment.md
@@ -388,7 +388,7 @@ seatunnel:
     job-schedule-strategy: WAIT
 ```
 
-当`dynamic-slot: true`时,`job-schedule-strategy: WAIT` 
配置会失效,将被强制修改为`job-schedule-strategy: REJECT`,因为动态Slot时该参数没有意义,可以直接提交。
+`job-schedule-strategy` 的行为不受 `dynamic-slot` 影响。当资源不足时,`WAIT` 会将作业保持在等待队列中并每隔 
3 秒重试调度,`REJECT` 则直接使作业失败。
 
 ### 4.8 Coordinator Service
 
diff --git a/docs/zh/engines/zeta/tuning-guide.md 
b/docs/zh/engines/zeta/tuning-guide.md
index 2f4ea6b3d2..27ceba1e9e 100644
--- a/docs/zh/engines/zeta/tuning-guide.md
+++ b/docs/zh/engines/zeta/tuning-guide.md
@@ -180,7 +180,7 @@ grep "SlowOperationDetector" 
"$SEATUNNEL_HOME"/logs/seatunnel-engine-*.log | tai
 
 将时间戳与以下事件关联:
 - 作业提交事件(REST API 调用)
-- Checkpoint 间隔(默认每 5 分钟一次,`seatunnel.engine.checkpoint.interval`)
+- Checkpoint 间隔(引擎默认值为 300000 毫秒;发行包的 `config/seatunnel.yaml` 模板中配置为 
`checkpoint.interval: 10000`)
 - 高负载时段(数据摄入高峰期)
 
 #### 第二步:检查节点整体健康状态

Reply via email to