This is an automated email from the ASF dual-hosted git repository.
fanjia pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 95e4bc0a519 [Fix] version docs images (#306)
95e4bc0a519 is described below
commit 95e4bc0a5192d87b7efcdc524d96bcf19f8131f8
Author: zhiwei liu <[email protected]>
AuthorDate: Tue May 7 14:50:32 2024 +0800
[Fix] version docs images (#306)
---
docusaurus.config.js | 5 +-
.../version-2.3.5/about.md | 4 +-
.../version-2.3.5/faq.md | 6 +-
.../version-2.3.5/images/architecture_diagram.png | Bin 0 -> 77929 bytes
.../version-2.3.5/images/azkaban.png | Bin 0 -> 732486 bytes
.../version-2.3.5/images/checkstyle.png | Bin 0 -> 479660 bytes
.../version-2.3.5/images/kafka.png | Bin 0 -> 32151 bytes
.../version-2.3.5/images/seatunnel-workflow.svg | 4 +
.../images/seatunnel_architecture.png | Bin 0 -> 778394 bytes
.../version-2.3.5/images/seatunnel_starter.png | Bin 0 -> 423840 bytes
.../version-2.3.5/images/workflow.png | Bin 0 -> 258921 bytes
package.json | 4 +-
tools/build-docs.ts | 91 ++++++++++-----------
tools/common.ts | 63 ++++++++++++++
tools/image-copy.ts | 55 +++++++++++++
versioned_docs/version-2.3.5/about.md | 4 +-
versioned_docs/version-2.3.5/faq.md | 6 +-
.../version-2.3.5/images/architecture_diagram.png | Bin 0 -> 77929 bytes
versioned_docs/version-2.3.5/images/azkaban.png | Bin 0 -> 732486 bytes
versioned_docs/version-2.3.5/images/checkstyle.png | Bin 0 -> 479660 bytes
versioned_docs/version-2.3.5/images/kafka.png | Bin 0 -> 32151 bytes
.../version-2.3.5/images/seatunnel-workflow.svg | 4 +
.../images/seatunnel_architecture.png | Bin 0 -> 778394 bytes
.../version-2.3.5/images/seatunnel_starter.png | Bin 0 -> 423840 bytes
versioned_docs/version-2.3.5/images/workflow.png | Bin 0 -> 258921 bytes
.../version-2.3.5/seatunnel-engine/deployment.md | 2 +-
26 files changed, 185 insertions(+), 63 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 80fbf5672d5..ec52f71d7a2 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -10,7 +10,7 @@ const config = {
url: 'https://seatunnel.apache.org',
baseUrl: '/',
onBrokenLinks: 'ignore',
- onBrokenMarkdownLinks: 'warn',
+ onBrokenMarkdownLinks: 'ignore',
favicon: 'image/favicon.ico',
organizationName: 'Apache SeaTunnel',
projectName: 'Apache SeaTunnel',
@@ -307,8 +307,7 @@ const config = {
// Optional: path for search page that enabled by default (`false`
to disable it)
searchPagePath: 'search',
//... other Algolia params
- },
-
+ }
}),
plugins: [
'docusaurus-plugin-less',
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/about.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/about.md
index e21c832fab4..055823dfb8b 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/about.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/about.md
@@ -32,7 +32,7 @@ SeaTunnel专注于数据集成和数据同步,主要旨在解决数据集成
## SeaTunnel work flowchart
-
+
SeaTunnel的运行流程如上图所示。
@@ -60,7 +60,7 @@ SeaTunnel 拥有大量用户。 您可以在[用户](https://seatunnel.apache.or
<p align="center">
<br/><br/>
-<img src="https://landscape.cncf.io//image_zh/left-logo.svg" width="150"
alt=""/> <img
src="https://landscape.cncf.io//image_zh/right-logo.svg" width="200" alt=""/>
+<img src="https://landscape.cncf.io/images/left-logo.svg" width="150"
alt=""/> <img src="https://landscape.cncf.io/images/right-logo.svg"
width="200" alt=""/>
<br/><br/>
SeaTunnel 丰富了<a
href="https://landscape.cncf.io/card-mode?category=streaming-messaging&license=apache-license-2-0&grouping=category&selected=sea-tunnal">CNCF
云原生景观</a >。
</p >
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/faq.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/faq.md
index 499c20f42c3..8c836a36124 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/faq.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/faq.md
@@ -65,9 +65,9 @@ your string 1
当然! 请参阅下面的屏幕截图:
-
+
-
+
## SeaTunnel是否有配置多个源的情况,例如同时在源中配置elasticsearch和hdfs?
@@ -185,7 +185,7 @@ sink {
3、一般来说,M和N都确定了,从2可以得出结论:`spark.streaming.kafka.maxRatePerPartition`的大小与`spark.executor.cores`
* `spark的大小正相关 .executor.instances`,可以在增加资源`maxRatePerPartition`的同时增加,以加快消耗。
-
+
## 如何解决错误 `Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE`?
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/architecture_diagram.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/architecture_diagram.png
new file mode 100644
index 00000000000..ce722546948
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/architecture_diagram.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/azkaban.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/azkaban.png
new file mode 100644
index 00000000000..78780dce2d3
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/azkaban.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/checkstyle.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/checkstyle.png
new file mode 100644
index 00000000000..4cf8303e714
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/checkstyle.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/kafka.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/kafka.png
new file mode 100644
index 00000000000..14b22ebcbe0
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/kafka.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel-workflow.svg
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel-workflow.svg
new file mode 100644
index 00000000000..7280e4a4c4a
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel-workflow.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than diagrams.net -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="622px"
height="718px" viewBox="-0.5 -0.5 622 718" content="<mxfile
host="Electron" modified="2021-12-30T15:17:57.852Z"
agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML,
like Gecko) draw.io/15.4.0 Chrome/91.0.4472.164 Electron/13.5.0
Safari/537.36" etag="y11mgoacIhryQ4lqCp5C"
version="15.4.0" type="device& [...]
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_architecture.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_architecture.png
new file mode 100644
index 00000000000..c96cb272e57
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_architecture.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_starter.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_starter.png
new file mode 100644
index 00000000000..4d9700899aa
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/seatunnel_starter.png
differ
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/workflow.png
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/workflow.png
new file mode 100644
index 00000000000..9ce48b8bfc9
Binary files /dev/null and
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.3.5/images/workflow.png
differ
diff --git a/package.json b/package.json
index abdaf14df1e..400d57d21a7 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,9 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc",
- "version": "npm run sync && docusaurus docs:version"
+ "image-copy":"tsx tools/image-copy.ts",
+ "version": "npm run sync && docusaurus docs:version",
+ "postversion": "npm run image-copy"
},
"dependencies": {
"@docusaurus/core": "^2.4.3",
diff --git a/tools/build-docs.ts b/tools/build-docs.ts
index 805c6690108..28b368f93fb 100644
--- a/tools/build-docs.ts
+++ b/tools/build-docs.ts
@@ -1,28 +1,28 @@
-import * as child_process from 'child_process';
-import * as fs from 'fs';
-import * as path from 'path';
-import { copySync } from 'fs-extra';
-
-// Set up constants
-const SOURCE_PATH = path.join(__dirname, '..');
-const PROJECT_NAME = 'seatunnel';
-const PROJECT_BRANCH_NAME = 'dev';
-const SWAP_DIR = path.join(SOURCE_PATH, 'swap');
-const PROJECT_SITE_IMG_DIR = path.join(SOURCE_PATH, 'static', 'image_en');
-const PROJECT_SITE_ZH_IMG_DIR = path.join(SOURCE_PATH, 'static', 'image_zh');
-const PROJECT_SITE_DOC_DIR = path.join(SOURCE_PATH, 'docs');
-const PROJECT_SITE_ZH_DOC_DIR = path.join(SOURCE_PATH, 'i18n', 'zh-CN',
'docusaurus-plugin-content-docs', 'current');
-const PROJECT_DIR = path.join(SWAP_DIR, PROJECT_NAME);
-const PROJECT_IMG_DIR = path.join(PROJECT_DIR, 'docs', 'en', 'images');
-const PROJECT_DOC_DIR = path.join(PROJECT_DIR, 'docs', 'en');
-const PROJECT_ZH_DOC_DIR = path.join(PROJECT_DIR, 'docs', 'zh');
-const PROJECT_SIDEBAR_PATH = path.join(PROJECT_DIR, 'docs', 'sidebars.js');
-const DOCUSAURUS_DOC_SIDEBARS_FILE = path.join(SOURCE_PATH, 'sidebars.js');
+import * as child_process from "child_process";
+import * as fs from "fs";
+import * as path from "path";
+import { copySync } from "fs-extra";
+import {
+ PROJECT_NAME,
+ SWAP_DIR,
+ PROJECT_SITE_DOC_DIR,
+ PROJECT_SITE_IMG_DIR,
+ DOCUSAURUS_DOC_SIDEBARS_FILE,
+ PROJECT_BRANCH_NAME,
+ PROJECT_DIR,
+ PROJECT_SIDEBAR_PATH,
+ PROJECT_IMG_DIR,
+ PROJECT_SITE_ZH_IMG_DIR,
+ PROJECT_DOC_DIR,
+ PROJECT_ZH_DOC_DIR,
+ PROJECT_SITE_ZH_DOC_DIR,
+ replaceImagesPath,
+} from "./common";
// Determine protocol mode
-const PROTOCOL_MODE = process.env.PROTOCOL_MODE || 'HTTP';
+const PROTOCOL_MODE = process.env.PROTOCOL_MODE || "HTTP";
const PROJECT_REPO =
- PROTOCOL_MODE === 'ssh'
+ PROTOCOL_MODE === "ssh"
? `[email protected]:apache/${PROJECT_NAME}.git`
: `https://github.com/apache/${PROJECT_NAME}.git`;
@@ -49,36 +49,25 @@ function rmExistsFiles(...files: string[]) {
// Utility function to clone repository
function cloneRepo(repo: string, branch: string, targetPath: string) {
- console.log(` ---> Start clone repository ${repo} branch ${branch} to
directory ${targetPath}`);
- child_process.execSync(`git clone --depth 1 --branch ${branch} ${repo}
${targetPath}`);
-}
-
-// Utility function to replace image paths
-function replaceImagesPath(replaceDir: string, to: string = '/image_en') {
- for (const fileName of fs.readdirSync(replaceDir)) {
- const filePath = path.join(replaceDir, fileName);
- if (fs.statSync(filePath).isDirectory()) {
- replaceImagesPath(filePath);
- } else if (filePath.endsWith('.md') || filePath.endsWith('.mdx')) {
- console.log(` ---> Replace images path to /doc/image_en in
${filePath}`);
- let content = fs.readFileSync(filePath, 'utf-8');
- content = content.replace(/(\.\.\/)*images/g, to);
- fs.writeFileSync(filePath, content);
- }
- }
+ console.log(
+ ` ---> Start clone repository ${repo} branch ${branch} to directory
${targetPath}`
+ );
+ child_process.execSync(
+ `git clone --depth 1 --branch ${branch} ${repo} ${targetPath}`
+ );
}
// Main function to prepare docs
function prepareDocs() {
- console.log('===>>>: Start documents sync.');
+ console.log("===>>>: Start documents sync.");
- console.log('===>>>: Rebuild directory swap, docs, static/image_en.');
+ console.log("===>>>: Rebuild directory swap, docs, static/image_en.");
rebuildDirs(SWAP_DIR, PROJECT_SITE_DOC_DIR, PROJECT_SITE_IMG_DIR);
- console.log('===>>>: Remove exists file sidebars.js.');
+ console.log("===>>>: Remove exists file sidebars.js.");
rmExistsFiles(DOCUSAURUS_DOC_SIDEBARS_FILE);
- console.log('===>>>: Clone project main codebase repositories.');
+ console.log("===>>>: Clone project main codebase repositories.");
cloneRepo(PROJECT_REPO, PROJECT_BRANCH_NAME, PROJECT_DIR);
console.log(`===>>>: Rsync sidebars.js to ${DOCUSAURUS_DOC_SIDEBARS_FILE}`);
@@ -90,19 +79,25 @@ function prepareDocs() {
console.log(`===>>>: Rsync images to ${PROJECT_SITE_ZH_IMG_DIR}`);
copySync(PROJECT_IMG_DIR, PROJECT_SITE_ZH_IMG_DIR, {});
- console.log(`===>>>: Rsync documents exclude images to
${PROJECT_SITE_DOC_DIR}`);
- copySync(PROJECT_DOC_DIR, PROJECT_SITE_DOC_DIR, { filter: (src) =>
!src.endsWith('images') });
+ console.log(
+ `===>>>: Rsync documents exclude images to ${PROJECT_SITE_DOC_DIR}`
+ );
+ copySync(PROJECT_DOC_DIR, PROJECT_SITE_DOC_DIR, {
+ filter: (src) => !src.endsWith("images"),
+ });
console.log(`===>>>: Rsync zh documents to ${PROJECT_ZH_DOC_DIR}`);
- copySync(PROJECT_ZH_DOC_DIR, PROJECT_SITE_ZH_DOC_DIR, { filter: (src) =>
!src.endsWith('images') });
+ copySync(PROJECT_ZH_DOC_DIR, PROJECT_SITE_ZH_DOC_DIR, {
+ filter: (src) => !src.endsWith("images"),
+ });
console.log(`===>>>: Replace images path in ${PROJECT_SITE_DOC_DIR}`);
replaceImagesPath(PROJECT_SITE_DOC_DIR);
console.log(`===>>>: Replace images path in ${PROJECT_SITE_ZH_DOC_DIR}`);
- replaceImagesPath(PROJECT_SITE_ZH_DOC_DIR, '/image_zh');
+ replaceImagesPath(PROJECT_SITE_ZH_DOC_DIR, "/image_zh");
- console.log('===>>>: End documents sync');
+ console.log("===>>>: End documents sync");
}
// Execute the main function
diff --git a/tools/common.ts b/tools/common.ts
new file mode 100644
index 00000000000..06b220ad406
--- /dev/null
+++ b/tools/common.ts
@@ -0,0 +1,63 @@
+import * as path from "path";
+import * as fs from "fs";
+import { readJsonSync } from "fs-extra";
+
+// Set up constants
+export const SOURCE_PATH = path.join(__dirname, "..");
+export const PROJECT_NAME = "seatunnel";
+export const PROJECT_BRANCH_NAME = "dev";
+export const SWAP_DIR = path.join(SOURCE_PATH, "swap");
+export const PROJECT_SITE_IMG_DIR = path.join(
+ SOURCE_PATH,
+ "static",
+ "image_en"
+);
+export const PROJECT_SITE_ZH_IMG_DIR = path.join(
+ SOURCE_PATH,
+ "static",
+ "image_zh"
+);
+export const PROJECT_SITE_DOC_DIR = path.join(SOURCE_PATH, "docs");
+export const PROJECT_SITE_ZH_DOC_DIR = path.join(
+ SOURCE_PATH,
+ "i18n",
+ "zh-CN",
+ "docusaurus-plugin-content-docs",
+ "current"
+);
+export const PROJECT_DIR = path.join(SWAP_DIR, PROJECT_NAME);
+export const PROJECT_IMG_DIR = path.join(PROJECT_DIR, "docs", "en", "images");
+export const PROJECT_DOC_DIR = path.join(PROJECT_DIR, "docs", "en");
+export const PROJECT_ZH_DOC_DIR = path.join(PROJECT_DIR, "docs", "zh");
+export const PROJECT_SIDEBAR_PATH = path.join(
+ PROJECT_DIR,
+ "docs",
+ "sidebars.js"
+);
+export const DOCUSAURUS_DOC_SIDEBARS_FILE = path.join(
+ SOURCE_PATH,
+ "sidebars.js"
+);
+export const VERSION = readJsonSync(path.join(SOURCE_PATH, "versions.json"));
+
+// Utility function to replace image paths
+export function replaceImagesPath(
+ replaceDir: string,
+ to: string = "/image_en",
+ from: string = "images"
+) {
+ const regex = new RegExp(`(\\.\\.\\/)*${from}`, "g");
+ for (const fileName of fs.readdirSync(replaceDir)) {
+ const filePath = path.join(replaceDir, fileName);
+ if (fs.statSync(filePath).isDirectory()) {
+ replaceImagesPath(filePath, to, from);
+ } else if (filePath.endsWith(".md") || filePath.endsWith(".mdx")) {
+ console.log(
+ ` ---> Replace images path form ${from} to ${to} in ${filePath}`
+ );
+ let content = fs.readFileSync(filePath, "utf-8");
+ content = content.replace(regex, to);
+ fs.writeFileSync(filePath, content);
+ }
+ }
+}
diff --git a/tools/image-copy.ts b/tools/image-copy.ts
new file mode 100644
index 00000000000..f8355b00b38
--- /dev/null
+++ b/tools/image-copy.ts
@@ -0,0 +1,55 @@
+import * as child_process from "child_process";
+import * as fs from "fs";
+import * as path from "path";
+import { copySync, readJsonSync } from "fs-extra";
+import {
+ VERSION,
+ PROJECT_NAME,
+ SWAP_DIR,
+ PROJECT_SITE_DOC_DIR,
+ PROJECT_SITE_IMG_DIR,
+ DOCUSAURUS_DOC_SIDEBARS_FILE,
+ PROJECT_BRANCH_NAME,
+ PROJECT_DIR,
+ PROJECT_SIDEBAR_PATH,
+ PROJECT_IMG_DIR,
+ PROJECT_SITE_ZH_IMG_DIR,
+ PROJECT_DOC_DIR,
+ PROJECT_ZH_DOC_DIR,
+ PROJECT_SITE_ZH_DOC_DIR,
+ SOURCE_PATH,
+ replaceImagesPath,
+} from "./common";
+
+const versionedDir = path.join(SOURCE_PATH, "versioned_docs");
+const versionedZHDir = path.join(
+ SOURCE_PATH,
+ "i18n/zh-CN/docusaurus-plugin-content-docs"
+);
+
+const resolveVersionedImageDir = (version: string) =>
+ path.join(versionedDir, `version-${version}`);
+
+const resolveVersionedZHImageDir = (version: string) =>
+ path.join(versionedZHDir, `version-${version}`);
+
+const IMAGEDIR = "images";
+
+function copyAndReplaceImagesPath() {
+ const newVersion = VERSION[0];
+ const newVersionedDir = resolveVersionedImageDir(newVersion);
+ const newVersionedZHDir = resolveVersionedZHImageDir(newVersion);
+ // copy static images to versioned directory
+ copySync(PROJECT_SITE_IMG_DIR, path.resolve(newVersionedDir, IMAGEDIR), {});
+ copySync(
+ PROJECT_SITE_ZH_IMG_DIR,
+ path.resolve(newVersionedZHDir, IMAGEDIR),
+ {}
+ );
+
+ // replace images path in versioned docs
+ replaceImagesPath(newVersionedDir, `${IMAGEDIR}`, "/image_en");
+ replaceImagesPath(newVersionedZHDir, `${IMAGEDIR}`, "/image_zh");
+}
+
+copyAndReplaceImagesPath();
diff --git a/versioned_docs/version-2.3.5/about.md
b/versioned_docs/version-2.3.5/about.md
index bb9ba8b56b4..57a800343b0 100644
--- a/versioned_docs/version-2.3.5/about.md
+++ b/versioned_docs/version-2.3.5/about.md
@@ -34,7 +34,7 @@ SeaTunnel focuses on data integration and data
synchronization, and is mainly de
## SeaTunnel work flowchart
-
+
The runtime process of SeaTunnel is shown in the figure above.
@@ -62,7 +62,7 @@ SeaTunnel has lots of users. You can find more information
about them in [users]
<p align="center">
<br/><br/>
-<img src="https://landscape.cncf.io//image_en/left-logo.svg" width="150"
alt=""/> <img
src="https://landscape.cncf.io//image_en/right-logo.svg" width="200" alt=""/>
+<img src="https://landscape.cncf.io/images/left-logo.svg" width="150"
alt=""/> <img src="https://landscape.cncf.io/images/right-logo.svg"
width="200" alt=""/>
<br/><br/>
SeaTunnel enriches the <a
href="https://landscape.cncf.io/card-mode?category=streaming-messaging&license=apache-license-2-0&grouping=category&selected=sea-tunnal">CNCF
CLOUD NATIVE Landscape</a >.
</p >
diff --git a/versioned_docs/version-2.3.5/faq.md
b/versioned_docs/version-2.3.5/faq.md
index 2c926c21768..7ff275f381c 100644
--- a/versioned_docs/version-2.3.5/faq.md
+++ b/versioned_docs/version-2.3.5/faq.md
@@ -65,9 +65,9 @@ Refer to:
[lightbend/config#456](https://github.com/lightbend/config/issues/456)
Of course! See the screenshot below:
-
+
-
+
## Does SeaTunnel have a case for configuring multiple sources, such as
configuring elasticsearch and hdfs in source at the same time?
@@ -184,7 +184,7 @@ The following conclusions can be drawn:
3. In general, both M and N are determined, and the conclusion can be drawn
from 2: The size of `spark.streaming.kafka.maxRatePerPartition` is positively
correlated with the size of `spark.executor.cores` *
`spark.executor.instances`, and it can be increased while increasing the
resource `maxRatePerPartition` to speed up consumption.
-
+
## How can I solve the Error `Exception in thread "main"
java.lang.NoSuchFieldError: INSTANCE`?
diff --git a/versioned_docs/version-2.3.5/images/architecture_diagram.png
b/versioned_docs/version-2.3.5/images/architecture_diagram.png
new file mode 100644
index 00000000000..ce722546948
Binary files /dev/null and
b/versioned_docs/version-2.3.5/images/architecture_diagram.png differ
diff --git a/versioned_docs/version-2.3.5/images/azkaban.png
b/versioned_docs/version-2.3.5/images/azkaban.png
new file mode 100644
index 00000000000..78780dce2d3
Binary files /dev/null and b/versioned_docs/version-2.3.5/images/azkaban.png
differ
diff --git a/versioned_docs/version-2.3.5/images/checkstyle.png
b/versioned_docs/version-2.3.5/images/checkstyle.png
new file mode 100644
index 00000000000..4cf8303e714
Binary files /dev/null and b/versioned_docs/version-2.3.5/images/checkstyle.png
differ
diff --git a/versioned_docs/version-2.3.5/images/kafka.png
b/versioned_docs/version-2.3.5/images/kafka.png
new file mode 100644
index 00000000000..14b22ebcbe0
Binary files /dev/null and b/versioned_docs/version-2.3.5/images/kafka.png
differ
diff --git a/versioned_docs/version-2.3.5/images/seatunnel-workflow.svg
b/versioned_docs/version-2.3.5/images/seatunnel-workflow.svg
new file mode 100644
index 00000000000..7280e4a4c4a
--- /dev/null
+++ b/versioned_docs/version-2.3.5/images/seatunnel-workflow.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than diagrams.net -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="622px"
height="718px" viewBox="-0.5 -0.5 622 718" content="<mxfile
host="Electron" modified="2021-12-30T15:17:57.852Z"
agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML,
like Gecko) draw.io/15.4.0 Chrome/91.0.4472.164 Electron/13.5.0
Safari/537.36" etag="y11mgoacIhryQ4lqCp5C"
version="15.4.0" type="device& [...]
\ No newline at end of file
diff --git a/versioned_docs/version-2.3.5/images/seatunnel_architecture.png
b/versioned_docs/version-2.3.5/images/seatunnel_architecture.png
new file mode 100644
index 00000000000..c96cb272e57
Binary files /dev/null and
b/versioned_docs/version-2.3.5/images/seatunnel_architecture.png differ
diff --git a/versioned_docs/version-2.3.5/images/seatunnel_starter.png
b/versioned_docs/version-2.3.5/images/seatunnel_starter.png
new file mode 100644
index 00000000000..4d9700899aa
Binary files /dev/null and
b/versioned_docs/version-2.3.5/images/seatunnel_starter.png differ
diff --git a/versioned_docs/version-2.3.5/images/workflow.png
b/versioned_docs/version-2.3.5/images/workflow.png
new file mode 100644
index 00000000000..9ce48b8bfc9
Binary files /dev/null and b/versioned_docs/version-2.3.5/images/workflow.png
differ
diff --git a/versioned_docs/version-2.3.5/seatunnel-engine/deployment.md
b/versioned_docs/version-2.3.5/seatunnel-engine/deployment.md
index 412add286a0..88df18b14c5 100644
--- a/versioned_docs/version-2.3.5/seatunnel-engine/deployment.md
+++ b/versioned_docs/version-2.3.5/seatunnel-engine/deployment.md
@@ -95,7 +95,7 @@ About the checkpoint storage, you can see [checkpoint
storage](checkpoint-storag
### 4.4 Historical Job expiration Config
-The information about each completed Job, such as status, counters, and error
logs, is stored in the IMap object. As the number of running jobs increases,
the memory increases and eventually the memory will overflow. Therefore, you
can adjust the history-job-expire-minutes parameter to solve this problem. The
time unit of this parameter is minute. The default value is 1440 minutes, that
is, one day.
+The information about each completed Job, such as status, counters, and error
logs, is stored in the IMap object. As the number of running jobs increases,
the memory increases and eventually the memory will overflow. Therefore, you
can adjust the history-job-expire-minutes parameter to solve this problem. The
time unit of this parameter is minute. The default value is 1440 minutes, that
is one day.
Example