Download And Make Installation Packages
Step 1: Preparationâ
Before starting to download SeaTunnel, you need to ensure that you have installed the following software required by SeaTunnel:
- Install Java (Java 8 or 11, and other versions higher than Java 8 can theoretically work) and set
JAVA_HOME
.
Step 2: Download SeaTunnelâ
Go to the Seatunnel Download Page to download the latest version of the release version installation package seatunnel-<version>-bin.tar.gz
.
Or you can also download it through the terminal.
export version="2.3.8"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
Step 3: Download The Connector Pluginâ
Starting from the 2.2.0-beta version, the binary package no longer provides the connector dependency by default. Therefore, when using it for the first time, you need to execute the following command to install the connector: (Of course, you can also manually download the connector from the Apache Maven Repository, and then move it to the connectors/seatunnel
directory).
sh bin/install-plugin.sh
If you need a specific connector version, taking 2.3.8 as an example, you need to execute the following command.
sh bin/install-plugin.sh 2.3.8
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.
--seatunnel-connectors--
connector-console
--end--
If you want the example application to work properly, you need to add the following plugins.
--seatunnel-connectors--
connector-fake
connector-console
--end--
You can find all supported connectors and the corresponding plugin_config configuration names under ${SEATUNNEL_HOME}/connectors/plugins-mapping.properties
.
If you want to install connector plugins by manually downloading connectors, you only need to download the connector plugins you need and place them in the ${SEATUNNEL_HOME}/connectors/
directory
Now you have completed the download of the SeaTunnel installation package and the download of the connector plugin. Next, you can choose different running modes according to your needs to run or deploy SeaTunnel.
If you use the SeaTunnel Engine (Zeta) that comes with SeaTunnel to run tasks, you need to deploy the SeaTunnel Engine service first. Refer to Deployment Of SeaTunnel Engine (Zeta) Service.