Skip to content

Commit

Permalink
[Improve] Update snapshot version to 2.3.10 (#8578)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hisoka-X authored Jan 23, 2025
1 parent 3cf09f6 commit b7d865d
Show file tree
Hide file tree
Showing 19 changed files with 61 additions and 61 deletions.
4 changes: 2 additions & 2 deletions bin/install-plugin.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ REM Get seatunnel home
set "SEATUNNEL_HOME=%~dp0..\"
echo Set SEATUNNEL_HOME to [%SEATUNNEL_HOME%]

REM Connector default version is 2.3.9, you can also choose a custom version. eg: 2.3.9: install-plugin.bat 2.3.9
set "version=2.3.9"
REM Connector default version is 2.3.10, you can also choose a custom version. eg: 2.3.10: install-plugin.bat 2.3.10
set "version=2.3.10"
if not "%~1"=="" set "version=%~1"

REM Create the lib directory
Expand Down
4 changes: 2 additions & 2 deletions bin/install-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# get seatunnel home
SEATUNNEL_HOME=$(cd $(dirname $0);cd ../;pwd)

# connector default version is 2.3.9, you can also choose a custom version. eg: 2.3.9: sh install-plugin.sh 2.3.9
version=2.3.9
# connector default version is 2.3.10, you can also choose a custom version. eg: 2.3.10: sh install-plugin.sh 2.3.10
version=2.3.10

if [ -n "$1" ]; then
version="$1"
Expand Down
4 changes: 2 additions & 2 deletions deploy/kubernetes/seatunnel/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ keywords:
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.3.9
version: 2.3.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.3.9
appVersion: 2.3.10
2 changes: 1 addition & 1 deletion docs/en/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Before starting an integration task, you can select different handling schemes f
- **`CREATE_SCHEMA_WHEN_NOT_EXIST`**: Creates the table if it does not exist; skips creation if the table already exists.
- **`ERROR_WHEN_SCHEMA_NOT_EXIST`**: Throws an error if the table does not exist.
- **`IGNORE`**: Ignores table handling.
Many connectors currently support automatic table creation. Refer to the specific connector documentation, such as [Jdbc sink](https://seatunnel.apache.org/docs/2.3.8/connector-v2/sink/Jdbc#schema_save_mode-enum), for more information.
Many connectors currently support automatic table creation. Refer to the specific connector documentation, such as [Jdbc sink](https://seatunnel.apache.org/docs/connector-v2/sink/Jdbc/#schema_save_mode-enum), for more information.

## Does SeaTunnel support handling existing data before starting a data integration task?
Yes, you can specify different processing schemes for existing data on the target side before starting an integration task, controlled via the `data_save_mode` parameter. Available options include:
Expand Down
6 changes: 3 additions & 3 deletions docs/en/seatunnel-engine/download-seatunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Go to the [Seatunnel Download Page](https://seatunnel.apache.org/download) to do
Or you can also download it through the terminal.

```shell
export version="2.3.9"
export version="2.3.10"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
```
Expand All @@ -33,10 +33,10 @@ Starting from the 2.2.0-beta version, the binary package no longer provides the
sh bin/install-plugin.sh
```

If you need a specific connector version, taking 2.3.9 as an example, you need to execute the following command.
If you need a specific connector version, taking 2.3.10 as an example, you need to execute the following command.

```bash
sh bin/install-plugin.sh 2.3.9
sh bin/install-plugin.sh 2.3.10
```

Usually you don't need all the connector plugins, so you can specify the plugins you need through configuring `config/plugin_config`, for example, if you only need the `connector-console` plugin, then you can modify the plugin.properties configuration file as follows.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/seatunnel-engine/rest-api-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ network:
```json
{
"projectVersion":"2.3.5-SNAPSHOT",
"projectVersion":"2.3.10-SNAPSHOT",
"gitCommitAbbrev":"DeadD0d0",
"totalSlot":"0",
"unassignedSlot":"0",
Expand Down
2 changes: 1 addition & 1 deletion docs/en/seatunnel-engine/rest-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ seatunnel:
```json
{
"projectVersion":"2.3.5-SNAPSHOT",
"projectVersion":"2.3.10-SNAPSHOT",
"gitCommitAbbrev":"DeadD0d0",
"totalSlot":"0",
"unassignedSlot":"0",
Expand Down
8 changes: 4 additions & 4 deletions docs/en/start-v2/docker/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can download the source code from the [download page](https://seatunnel.apac
```shell
cd seatunnel
# Use already sett maven profile
sh ./mvnw -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=2.3.9 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel
sh ./mvnw -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=2.3.10 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel

# Check the docker image
docker images | grep apache/seatunnel
Expand All @@ -53,10 +53,10 @@ sh ./mvnw clean package -DskipTests -Dskip.spotless=true

# Build docker image
cd seatunnel-dist
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.9 -t apache/seatunnel:2.3.9 .
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.10 -t apache/seatunnel:2.3.10 .

# If you build from dev branch, you should add SNAPSHOT suffix to the version
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.9-SNAPSHOT -t apache/seatunnel:2.3.9-SNAPSHOT .
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.10-SNAPSHOT -t apache/seatunnel:2.3.10-SNAPSHOT .

# Check the docker image
docker images | grep apache/seatunnel
Expand All @@ -72,7 +72,7 @@ COPY ./target/apache-seatunnel-${VERSION}-bin.tar.gz /opt/

# Download From Internet
# Please Note this file only include fake/console connector, You'll need to download the other connectors manually
# wget -P /opt https://dlcdn.apache.org/seatunnel/2.3.6/apache-seatunnel-${VERSION}-bin.tar.gz
# wget -P /opt https://dlcdn.apache.org/seatunnel/${VERSION}/apache-seatunnel-${VERSION}-bin.tar.gz

RUN cd /opt && \
tar -zxvf apache-seatunnel-${VERSION}-bin.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion docs/en/start-v2/kubernetes/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ minikube start --kubernetes-version=v1.23.3
Install with default settings.
```bash
# Choose the corresponding version yourself
export VERSION=2.3.9
export VERSION=2.3.10
helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION}
tar -xvf seatunnel-helm-${VERSION}.tgz
cd seatunnel-helm
Expand Down
36 changes: 18 additions & 18 deletions docs/en/start-v2/kubernetes/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To run the image with SeaTunnel, first create a `Dockerfile`:
```Dockerfile
FROM flink:1.13

ENV SEATUNNEL_VERSION="2.3.9"
ENV SEATUNNEL_VERSION="2.3.10"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -56,13 +56,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.9-flink-1.13 -f Dockerfile .
docker build -t seatunnel:2.3.10-flink-1.13 -f Dockerfile .
```
Image `seatunnel:2.3.9-flink-1.13` needs to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.10-flink-1.13` needs to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.9-flink-1.13
minikube image load seatunnel:2.3.10-flink-1.13
```

</TabItem>
Expand All @@ -72,7 +72,7 @@ minikube image load seatunnel:2.3.9-flink-1.13
```Dockerfile
FROM openjdk:8

ENV SEATUNNEL_VERSION="2.3.9"
ENV SEATUNNEL_VERSION="2.3.10"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -84,13 +84,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.9 -f Dockerfile .
docker build -t seatunnel:2.3.10 -f Dockerfile .
```
Image `seatunnel:2.3.9` need to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.10` need to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.9
minikube image load seatunnel:2.3.10
```

</TabItem>
Expand All @@ -100,7 +100,7 @@ minikube image load seatunnel:2.3.9
```Dockerfile
FROM openjdk:8

ENV SEATUNNEL_VERSION="2.3.9"
ENV SEATUNNEL_VERSION="2.3.10"
ENV SEATUNNEL_HOME="/opt/seatunnel"

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
Expand All @@ -112,13 +112,13 @@ RUN cd ${SEATUNNEL_HOME} && sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

Then run the following commands to build the image:
```bash
docker build -t seatunnel:2.3.9 -f Dockerfile .
docker build -t seatunnel:2.3.10 -f Dockerfile .
```
Image `seatunnel:2.3.9` needs to be present in the host (minikube) so that the deployment can take place.
Image `seatunnel:2.3.10` needs to be present in the host (minikube) so that the deployment can take place.

Load image to minikube via:
```bash
minikube image load seatunnel:2.3.9
minikube image load seatunnel:2.3.10
```

</TabItem>
Expand Down Expand Up @@ -191,7 +191,7 @@ none
]}>
<TabItem value="flink">

In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.9-release/config/v2.streaming.conf.template):
In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.10-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -245,7 +245,7 @@ kind: FlinkDeployment
metadata:
name: seatunnel-flink-streaming-example
spec:
image: seatunnel:2.3.9-flink-1.13
image: seatunnel:2.3.10-flink-1.13
flinkVersion: v1_13
flinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
Expand Down Expand Up @@ -291,7 +291,7 @@ kubectl apply -f seatunnel-flink.yaml

<TabItem value="Zeta (local-mode)">

In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.9-release/config/v2.streaming.conf.template):
In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.10-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -334,7 +334,7 @@ metadata:
spec:
containers:
- name: seatunnel
image: seatunnel:2.3.9
image: seatunnel:2.3.10
command: ["/bin/sh","-c","/opt/seatunnel/bin/seatunnel.sh --config /data/seatunnel.streaming.conf -e local"]
resources:
limits:
Expand Down Expand Up @@ -366,7 +366,7 @@ kubectl apply -f seatunnel.yaml

<TabItem value="Zeta (cluster-mode)">

In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.9-release/config/v2.streaming.conf.template):
In this guide we will use [seatunnel.streaming.conf](https://github.com/apache/seatunnel/blob/2.3.10-release/config/v2.streaming.conf.template):

```conf
env {
Expand Down Expand Up @@ -524,7 +524,7 @@ spec:
spec:
containers:
- name: seatunnel
image: seatunnel:2.3.9
image: seatunnel:2.3.10
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5801
Expand Down
8 changes: 4 additions & 4 deletions docs/en/start-v2/locally/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Visit the [SeaTunnel Download Page](https://seatunnel.apache.org/download) to do
Or you can also download it through the terminal:

```shell
export version="2.3.9"
export version="2.3.10"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
```
Expand All @@ -35,10 +35,10 @@ Starting from version 2.2.0-beta, the binary package no longer provides connecto
sh bin/install-plugin.sh
```

If you need a specific connector version, taking 2.3.9 as an example, you need to execute the following command:
If you need a specific connector version, taking 2.3.10 as an example, you need to execute the following command:

```bash
sh bin/install-plugin.sh 2.3.9
sh bin/install-plugin.sh 2.3.10
```

Typically, you do not need all the connector plugins. You can specify the required plugins by configuring `config/plugin_config`. For example, if you want the sample application to work properly, you will need the `connector-console` and `connector-fake` plugins. You can modify the `plugin_config` configuration file as follows:
Expand Down Expand Up @@ -71,7 +71,7 @@ You can download the source code from the [download page](https://seatunnel.apac
cd seatunnel
sh ./mvnw clean install -DskipTests -Dskip.spotless=true
# get the binary package
cp seatunnel-dist/target/apache-seatunnel-2.3.9-bin.tar.gz /The-Path-You-Want-To-Copy
cp seatunnel-dist/target/apache-seatunnel-2.3.10-bin.tar.gz /The-Path-You-Want-To-Copy

cd /The-Path-You-Want-To-Copy
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/seatunnel-engine/download-seatunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
或者您也可以通过终端下载

```shell
export version="2.3.9"
export version="2.3.10"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
```
Expand All @@ -30,13 +30,13 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
从2.2.0-beta版本开始,二进制包不再默认提供连接器依赖,因此在第一次使用它时,您需要执行以下命令来安装连接器:(当然,您也可以从 [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) 手动下载连接器,然后将其移动至`connectors/seatunnel`目录下)。

```bash
sh bin/install-plugin.sh 2.3.9
sh bin/install-plugin.sh 2.3.10
```

如果您需要指定的连接器版本,以2.3.9为例,您需要执行如下命令
如果您需要指定的连接器版本,以2.3.10为例,您需要执行如下命令

```bash
sh bin/install-plugin.sh 2.3.9
sh bin/install-plugin.sh 2.3.10
```

通常您并不需要所有的连接器插件,所以您可以通过配置`config/plugin_config`来指定您所需要的插件,例如,您只需要`connector-console`插件,那么您可以修改plugin.properties配置文件如下
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/seatunnel-engine/rest-api-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ network:
```json
{
"projectVersion":"2.3.5-SNAPSHOT",
"projectVersion":"2.3.10-SNAPSHOT",
"gitCommitAbbrev":"DeadD0d0",
"totalSlot":"0",
"unassignedSlot":"0",
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/seatunnel-engine/rest-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ seatunnel:
```json
{
"projectVersion":"2.3.5-SNAPSHOT",
"projectVersion":"2.3.10-SNAPSHOT",
"gitCommitAbbrev":"DeadD0d0",
"totalSlot":"0",
"unassignedSlot":"0",
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/start-v2/docker/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docker run --rm -it -v /tmp/job/:/config apache/seatunnel:<version_tag> ./bin/se
```shell
cd seatunnel
# Use already sett maven profile
mvn -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=2.3.9 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel
mvn -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=2.3.10 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel

# Check the docker image
docker images | grep apache/seatunnel
Expand All @@ -53,10 +53,10 @@ mvn clean package -DskipTests -Dskip.spotless=true

# Build docker image
cd seatunnel-dist
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.9 -t apache/seatunnel:2.3.9 .
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.10 -t apache/seatunnel:2.3.10 .

# If you build from dev branch, you should add SNAPSHOT suffix to the version
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.9-SNAPSHOT -t apache/seatunnel:2.3.9-SNAPSHOT .
docker build -f src/main/docker/Dockerfile --build-arg VERSION=2.3.10-SNAPSHOT -t apache/seatunnel:2.3.10-SNAPSHOT .

# Check the docker image
docker images | grep apache/seatunnel
Expand All @@ -72,7 +72,7 @@ COPY ./target/apache-seatunnel-${VERSION}-bin.tar.gz /opt/

# Download From Internet
# Please Note this file only include fake/console connector, You'll need to download the other connectors manually
# wget -P /opt https://dlcdn.apache.org/seatunnel/2.3.6/apache-seatunnel-${VERSION}-bin.tar.gz
# wget -P /opt https://dlcdn.apache.org/seatunnel/${VERSION}/apache-seatunnel-${VERSION}-bin.tar.gz

RUN cd /opt && \
tar -zxvf apache-seatunnel-${VERSION}-bin.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/start-v2/kubernetes/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ minikube start --kubernetes-version=v1.23.3
使用默认配置安装
```bash
# Choose the corresponding version yourself
export VERSION=2.3.9
export VERSION=2.3.10
helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION}
tar -xvf seatunnel-helm-${VERSION}.tgz
cd seatunnel-helm
Expand Down
Loading

0 comments on commit b7d865d

Please sign in to comment.