Apache SeaTunnel — High-Performance Data Integration Engine
Fast, distributed, cloud-native data integration tool for batch and streaming data synchronization across 100+ sources and sinks.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install b9625074-3931-11f1-9bc6-00163e2b0d79 --target codex先 dry-run,确认写入项后再运行此命令。
What it is
Apache SeaTunnel is a distributed data integration engine that synchronizes data between 100+ sources and sinks in both batch and streaming modes. It supports databases (MySQL, PostgreSQL, Oracle), data warehouses (BigQuery, Snowflake, Redshift), file systems (HDFS, S3, local), and message queues (Kafka, Pulsar). Jobs are defined in YAML or JSON configuration files.
SeaTunnel targets data engineers who need to move data between heterogeneous systems at scale. It suits ETL pipelines, data lake ingestion, database migration, and real-time data synchronization scenarios.
How it saves time or tokens
This workflow provides the download, installation, and a sample job configuration. Instead of writing custom data pipeline code for each source-sink pair, you define a YAML config and SeaTunnel handles connection management, parallelism, fault tolerance, and data type mapping.
How to use
- Download and install SeaTunnel:
wget https://dlcdn.apache.org/seatunnel/2.3.5/apache-seatunnel-2.3.5-bin.tar.gz
tar -xzf apache-seatunnel-2.3.5-bin.tar.gz
cd apache-seatunnel-2.3.5
- Create a job configuration:
# config/mysql_to_postgres.conf
env {
parallelism = 4
job.mode = "BATCH"
}
source {
Jdbc {
url = "jdbc:mysql://localhost:3306/source_db"
driver = "com.mysql.cj.jdbc.Driver"
user = "root"
password = "password"
query = "SELECT * FROM orders"
}
}
sink {
Jdbc {
url = "jdbc:postgresql://localhost:5432/target_db"
driver = "org.postgresql.Driver"
user = "postgres"
password = "password"
table = "orders"
}
}
- Run the job:
./bin/seatunnel.sh --config config/mysql_to_postgres.conf
Example
# Streaming from Kafka to Elasticsearch
env {
parallelism = 2
job.mode = "STREAMING"
checkpoint.interval = 10000
}
source {
Kafka {
bootstrap.servers = "kafka:9092"
topic = "events"
format = "json"
}
}
sink {
Elasticsearch {
hosts = ["http://elasticsearch:9200"]
index = "events-${now}"
}
}
Related on TokRepo
- Database tools -- Data processing and integration solutions
- Automation tools -- Workflow automation for data pipelines
Common pitfalls
- JDBC connector requires the database driver JAR in the lib directory. SeaTunnel does not bundle proprietary drivers like MySQL or Oracle.
- Parallelism settings higher than source partitions waste resources. Match parallelism to the data distribution of your source.
- Streaming mode requires checkpoint configuration for fault tolerance. Without checkpoints, a failure restarts the job from the beginning.
常见问题
SeaTunnel supports 100+ connectors including MySQL, PostgreSQL, Oracle, MongoDB, Kafka, Pulsar, S3, HDFS, Elasticsearch, BigQuery, Snowflake, Redshift, ClickHouse, and many more. Each connector handles its own data type mapping.
SeaTunnel focuses on data integration (moving data between systems) while Spark focuses on data processing (transformations, analytics). SeaTunnel is lighter weight and does not require a Spark cluster. It uses its own Zeta engine or can run on Spark/Flink.
Yes. Set job.mode to STREAMING in the configuration. SeaTunnel continuously reads from the source and writes to the sink with configurable checkpoint intervals for fault tolerance.
Yes. SeaTunnel supports transform plugins for filtering rows, renaming columns, type conversion, and custom SQL transformations between source and sink.
Yes. Apache SeaTunnel is an Apache Software Foundation project used in production for data integration workloads. It provides fault tolerance, exactly-once semantics in streaming mode, and horizontal scaling.
引用来源 (3)
- SeaTunnel GitHub— Apache SeaTunnel supports 100+ sources and sinks
- SeaTunnel Documentation— Batch and streaming data synchronization engine
- ASF SeaTunnel— Apache Software Foundation project
讨论
相关资产
Apache APISIX — Cloud Native High-Performance API Gateway
Apache APISIX is a dynamic, real-time, high-performance API gateway built on NGINX and etcd, offering rich traffic management with a large plugin ecosystem and sub-millisecond routing updates.
Apache Spark — Unified Analytics Engine for Big Data
Apache Spark is the most widely used engine for large-scale data processing. It provides in-memory computing for batch processing, SQL queries, machine learning, graph processing, and streaming — all through a unified API in Python, Scala, Java, and R.
Apache Kafka — Distributed Event Streaming Platform
Apache Kafka is the open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, and mission-critical applications. Trillions of messages per day at LinkedIn, Netflix, Uber.
Apache Druid — Real-Time Analytics Database for Event-Driven Data
Apache Druid powers interactive analytics on real-time event data. With column-oriented storage, time-based partitioning, and a distributed architecture, it serves sub-second queries on trillions of events per day — the OLAP engine behind Netflix and Airbnb.