deployment
Deployment
Step 1: Prepare the environmentâ
Before you getting start the local run, you need to make sure you already have installed the following software which SeaTunnel required:
- Java (Java 8 or 11, other versions greater than Java 8 can theoretically work as well) installed and
JAVA_HOME
set.
Step 2: Download SeaTunnelâ
Enter the seatunnel download page and download the latest version of distribute
package seatunnel-<version>-bin.tar.gz
Or you can download it by terminal
export version="2.3.4"
wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz"
tar -xzvf "apache-seatunnel-${version}-bin.tar.gz"
Step 3: Install connectors pluginâ
Since 2.2.0-beta, the binary package does not provide connector dependencies by default, so 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 Apache Maven Repository to download, then manually move to the connectors/seatunnel
directory).
sh bin/install-plugin.sh 2.3.4
If you need to specify the version of the connector, take 2.3.4 as an example, you need to execute
sh bin/install-plugin.sh 2.3.4
Usually you don't need all the connector plugins, so you can specify the plugins you need by configuring config/plugin_config
, for example, you only need the connector-console
plugin, then you can modify plugin.properties as
--seatunnel-connectors--
connector-console
--end--
If you'd like to make a sample application to work properly, you need to add the following plugins
--seatunnel-connectors--
connector-fake
connector-console
--end--
You can find out all supported connectors and corresponding plugin_config configuration names under ${SEATUNNEL_HOME}/connectors/plugins-mapping.properties
.
If you'd like to install the connector plugin by manually downloading the connector, you need to pay special attention to the following
The connectors directory contains the following subdirectories, if they do not exist, you need to create them manually
flink
flink-sql
seatunnel
spark
If you'd like to install the V2 connector plugin manually, you only need to download the V2 connector plugin you need and put them in the seatunnel directory
What's Moreâ
For now, you are already deployment SeaTunnel complete. You can follow Quick Start to configure and run a data synchronization job.