Hi SeaTunnel community,
I'd like to propose including the AI-Native CLI capability in the
SeaTunnel 3.0 release, and share a broader vision for the "AI for Data
Engineering" direction. I believe this aligns well with the 3.0 milestone
as a significant user-experience leap.
This PR https://github.com/apache/seatunnel/pull/10789 introduces
`seatunnel-cli`, an AI-powered command-line tool that
generates production-ready pipeline configurations from natural language:
$ seatunnel "Sync the users table from MySQL to S3 in parquet format"
✅ Generated config: mysql_users_to_s3.conf
Key capabilities in the current implementation:
- Multi-LLM provider support (Anthropic / OpenAI / AWS Bedrock)
with auto-detection
- Runtime connector metadata extraction via Java OptionRule reflection,
ensuring 100% accurate parameter knowledge for all 100+ connectors
- Source/Sink type-aware validation (Jdbc source options ≠ Jdbc sink
options)
- Auto-fix loop: generated configs are validated and self-corrected
(up to 3 iterations)
- Security hardening: sensitive values (passwords, tokens, keys) are
automatically redacted to ${ENV_VAR} placeholders before persistence
and LLM transmission
- Interactive mode with session memory and one-shot mode for CI/CD
Future Roadmap — AI for Data Engineering
Looking beyond config generation, I see a multi-level roadmap where
AI becomes deeply integrated into SeaTunnel's core value proposition:
### Level 2: AI Understands Data (Next phase)
- Intelligent Schema Mapping: AI reads source schema, infers target
schema, and auto-generates type conversions and DDL
- Natural Language Transforms: "mask phone numbers, merge first and
last name, filter last 7 days" → SQL Transform auto-generation
- Data Profiling: AI samples source data, detects anomalies (NULLs,
outliers, format violations), and suggests data quality transforms
### Level 3: AI Operates Pipelines
- Intelligent Failure Diagnosis: AI analyzes error logs, pinpoints
root cause (connection refused → MySQL down vs firewall), suggests fix
- Self-Healing Pipelines: auto-detect DDL changes in CDC sources,
auto-evolve sink schema, zero-downtime recovery
- Anomaly Detection: monitor data flow volume/latency, alert when
throughput drops 99% with correlated root cause
### Level 4: AI Optimizes Everything
- Performance Tuning: AI analyzes bottlenecks (batch_size too small,
wrong file format, insufficient parallelism), suggests optimization
- Cost-Aware Planning: given N tables to sync, AI proposes pipeline
topology that balances cost vs latency vs resource usage
- Intelligent Scheduling: learn from historical patterns to optimize
sync frequency per table
### Level 5: Autonomous Data Platform (Long-term vision)
- Conversational data infrastructure management: "onboard the payment
system to the data lake, ensure GDPR compliance" → AI auto-discovers
sources, identifies PII, generates pipelines with masking transforms,
deploys with monitoring and alerting
Doyeon Kim <[email protected]> 于2026年4月29日周三 18:17写道:
> Hi everyone,
>
> I’d like to propose the following Zeta engine improvements for SeaTunnel
> 3.0.
>
> 1. StateStore abstraction
> PR: https://github.com/apache/seatunnel/pull/10812
>
> This introduces an initial StateStore abstraction layer to reduce direct
> Hazelcast IMap dependencies in the engine. It makes different state
> responsibilities more explicit and prepares the engine for future backend
> evolution.
>
> I think this is relevant for 3.0 because it is a foundational step toward
> decoupling the engine from Hazelcast-specific APIs and enabling future
> improvements around state storage, node communication, and coordination
> layers.
>
> 2. IMap external storage compaction
> PR: https://github.com/apache/seatunnel/pull/10399
>
> This introduces LSM-style write and compaction logic for IMap external
> storage. It helps control storage growth by flushing sorted immutable files
> and compacting persisted files while keeping only the latest record per
> key.
>
> I think this should be considered for 3.0 because long-running Zeta jobs
> may accumulate duplicated records and tombstones in external storage over
> time. Compaction can improve stability and reduce the risk of unbounded
> storage growth.
>
> Best Regards,
> Doyeon
> (Github ID: dybyte)
>
> On Wed, Apr 29, 2026 at 7:13 PM David Zollo <[email protected]>
> wrote:
>
> > Hi guys,
> >
> > I'd like to propose including PR #10491 in the SeaTunnel 3.0 roadmap,
> > here are the details with additional packaging time analysis:
> >
> > ### PR link
> > https://github.com/apache/seatunnel/pull/10491
> >
> > StainTrace (PR #10491) is the concrete implementation of STIP-21,
> > delivering end-to-end data lineage tracing and performance analysis
> > capabilities for the Apache SeaTunnel Zeta engine. It injects
> > lightweight timestamp sampling points at 6 key pipeline stages —
> > SOURCE_EMIT → QUEUE_IN → QUEUE_OUT → TRANSFORM_IN → TRANSFORM_OUT →
> > SINK_WRITE_DONE — tracking each sampled row's complete journey from
> > source emission to sink write completion, enabling precise end-to-end
> > latency measurement and bottleneck identification.
> >
> > The system is designed with production safety as a first-class
> > concern: it is disabled by default with very low overhead, and when
> > enabled it operates at a configurable sampling rate with a strict
> > per-worker per-second event budget, achieving approximately 0.1~1%
> > overhead at 1% sampling. Trace data is written locally as JSONL files
> > in OpenTelemetry OTLP JSON format with no external dependencies. An
> > accompanying offline analyzer reads these files to compute P95/P99
> > latency statistics, identify bottleneck stages, and generate an HTML
> > visualization report with Chinese/English language toggle support.
> >
> > The value to SeaTunnel lies in closing a critical observability gap at
> > the engine level. Before this feature, users facing latency spikes or
> > throughput bottlenecks had no structured way to pinpoint whether the
> > problem resided in queue backpressure, transform processing, or sink
> > write time — they could only rely on logs and guesswork. StainTrace
> > makes per-stage timing transparent and actionable, which is especially
> > impactful for large-scale, multi-table, long-chain production
> > pipelines.
> >
> > The case for including it in the 3.0 roadmap is equally strong. As the
> > implementation of STIP-21, StainTrace is a framework-level
> > observability capability — connector-agnostic and immediately
> > effective across all jobs once merged. One of SeaTunnel 3.0's central
> > goals is to become a more mature, production-ready data integration
> > engine, and observability is an indispensable foundation for that
> > goal. Establishing it at a major version boundary like 3.0 delivers
> > far greater long-term value to users.
> >
> >
> >
> >
> >
> >
> > Best Regards,
> > David
> > Linkedin: https://www.linkedin.com/in/davidzollo
> >
> > On Wed, Apr 29, 2026 at 2:48 PM yi zeng <[email protected]> wrote:
> > >
> > > Hi everyone,
> > >
> > > I’d like to propose including the following two PRs in the *SeaTunnel
> 3.0
> > > roadmap*. Both focus on strengthening *correctness, reliability, and
> > > operational safety* for core multi-table and continuous ingestion
> > > scenarios, which I believe are key pillars for 3.0.
> > > ------------------------------
> > > PR #10600 — [Feature][Core] Support table-level fault isolation for
> > > multi-table synchronization
> > >
> > > https://github.com/apache/seatunnel/pull/10600
> > >
> > > *What it adds / solves*
> > >
> > > This PR introduces *table-level fault isolation* for multi-table
> > > synchronization by adding a new failure policy:
> > > code
> > > 复制
> > >
> > > env {
> > > multi_table {
> > > failure_policy = "CONTINUE_OTHER_TABLES"
> > > }
> > > }
> > >
> > > With this enabled:
> > >
> > > - Failures are isolated at *table granularity*, instead of failing
> the
> > > entire job.
> > > - Healthy tables continue processing even if one table fails.
> > > - Failed tables are collected and reported with clear metadata
> (table
> > > path, failure phase, plugin, error).
> > > - Batch jobs report failed tables in final results; streaming jobs
> > > continue running with healthy tables.
> > >
> > > This addresses a long-standing pain point where a single problematic
> > table
> > > can block progress for all others.
> > >
> > > *Why it should be included in 3.0*
> > >
> > > - *Improved fault tolerance model*: 3.0 aims to be more resilient
> and
> > > production-ready; table-level isolation is a foundational capability
> > for
> > > large-scale, multi-table pipelines.
> > > - *Backward-compatible by default*: The default behavior remains
> > > FAIL_FAST, so existing jobs are unaffected unless users explicitly
> opt
> > > in.
> > > - *Framework-level improvement*: This is not connector-specific; it
> > > enhances the core execution and failure-handling semantics of
> > SeaTunnel.
> > > - *Mature design & coverage*: Includes core logic changes, runtime
> > > handling, reporting, and E2E tests, making it suitable for a major
> > version
> > > milestone.
> > >
> > > ------------------------------
> > > PR #10563 — [Feature][Connector-V2] Add checkpoint-gated
> post_sync_action
> > > and retention for file source continuous discovery
> > >
> > > https://github.com/apache/seatunnel/pull/10563
> > >
> > > *What it adds / solves*
> > >
> > > This PR adds *checkpoint-gated source-side lifecycle management* for
> file
> > > source continuous discovery, including:
> > >
> > > - post_sync_action = delete
> > > Delete source files only *after a checkpoint has completed*
> > > - post_sync_action = backup
> > > Move source files to a backup_path after checkpoint completion
> > > - Optional backup retention via retention_max_age
> > >
> > > All operations are *checkpoint-aware*, ensuring source files are never
> > > deleted or moved before the data is durably processed.
> > >
> > > *Why it should be included in 3.0*
> > >
> > > - *Correctness-first continuous ingestion*: Safe source cleanup tied
> > to
> > > checkpoint completion is essential for exactly-once and recoverable
> > file
> > > ingestion, which aligns strongly with 3.0 quality goals.
> > > - *Production-grade operational semantics*: Without checkpoint-gated
> > > cleanup, continuous file ingestion is risky in real production
> > environments.
> > > - *Extends Connector-V2 maturity*: This PR deepens the operational
> > > completeness of Connector-V2, especially for file-based sources.
> > > - *Well-tested and documented*: Includes unit tests, E2E tests
> (Local
> > +
> > > HDFS), and documentation updates (EN + ZH).
> > >
> > > ------------------------------
> > >
> > > Both PRs are *opt-in*, backward-compatible, and focused on making
> > SeaTunnel
> > > more robust, predictable, and safe in real-world deployments. I believe
> > > they fit naturally into the SeaTunnel 3.0 scope, especially given the
> > > emphasis on stability, correctness, and large-scale usage.
> > >
> > > Happy to discuss details or answer questions.
> > >
> > > Zhang Donghao <[email protected]> 于2026年4月29日周三 14:38写道:
> > >
> > > > Hi everyone,
> > > >
> > > > I'd like to propose including PR #9993 in the SeaTunnel 3.0 roadmap,
> > here
> > > > are the details with additional packaging time analysis:
> > > >
> > > > ### PR link
> > > > https://github.com/apache/seatunnel/pull/9993
> > > >
> > > > ### Short description
> > > > This PR extracts the shade modules into an independent
> seatunnel-shade
> > > > project, enables uploading shade-jars to the central repository, and
> > > > optimizes the overall packaging efficiency of SeaTunnel.
> > > >
> > > > ### Packaging time analysis (current state before PR optimization)
> > > > The current build time breakdown of individual shade modules is as
> > > > follows, highlighting the inefficiency of the integrated build
> > approach:
> > > > ```
> > > > [INFO] SeaTunnel : Shade : 3.0.0 .......................... SUCCESS [
> > > > 12.661 s]
> > > > [INFO] SeaTunnel : Shade : Hazelcast 5.1-3.0.0 ............ SUCCESS [
> > > > 8.192 s]
> > > > [INFO] SeaTunnel : Shade : Hadoop3 Uber 3.1.4-3.0.0 ....... SUCCESS
> > [02:29
> > > > min]
> > > > [INFO] SeaTunnel : Shade : Jackson 2.13.3-3.0.0 ........... SUCCESS [
> > > > 3.289 s]
> > > > [INFO] SeaTunnel : Shade : Guava 27.0-jre-3.0.0 ........... SUCCESS [
> > > > 2.960 s]
> > > > [INFO] SeaTunnel : Shade : Hadoop : AWS 3.1.4-3.0.0 ....... SUCCESS
> > [05:05
> > > > min]
> > > > [INFO] SeaTunnel : Shade : Arrow 15.0.1-3.0.0 ............. SUCCESS [
> > > > 5.880 s]
> > > > [INFO] SeaTunnel : Shade : Hikari 4.0.3-3.0.0 ............. SUCCESS [
> > > > 1.085 s]
> > > > [INFO] SeaTunnel : Shade : Thrift-Service 1.0.0-3.0.0 ..... SUCCESS [
> > > > 1.572 s]
> > > > [INFO] SeaTunnel : Shade : Janino 3.0.11-3.0.0 ............ SUCCESS [
> > > > 1.235 s]
> > > > [INFO] SeaTunnel : Shade : Scala 2.13.11-3.0.0 ............ SUCCESS [
> > > > 6.586 s]
> > > > [INFO] SeaTunnel : Shade : Jetty 9.4.56.v20240826-3.0.0 ... SUCCESS [
> > > > 2.421 s]
> > > > [INFO] SeaTunnel : Shade : Commons Lang3 3.18.0-3.0.0 ..... SUCCESS [
> > > > 2.044 s]
> > > > ```
> > > > Key observations from the time breakdown:
> > > > 1. **Long-tail modules dominate build time**: Two modules account for
> > the
> > > > vast majority of shade build time — `Hadoop3 Uber` (2 minutes 29
> > seconds)
> > > > and `Hadoop : AWS` (5 minutes 5 seconds), totaling ~7.5 minutes,
> while
> > > > other modules take only a few seconds each.
> > > > 2. **Integrated build waste**: In the current structure, these
> > > > time-consuming shade modules are built alongside core modules every
> > time
> > > > SeaTunnel is packaged, even when there are no changes to shade
> > > > dependencies. This results in repeated long build cycles for
> > developers and
> > > > release workflows.
> > > > 3. **Total shade build time**: The cumulative build time of all shade
> > > > modules is approximately 8 minutes (excluding overlapping/parallel
> > build
> > > > optimizations), which is a significant portion of the overall
> SeaTunnel
> > > > packaging process.
> > > >
> > > > ### Reason for including in 3.0
> > > > 1. **Build efficiency optimization (quantifiable gains)**:
> > > > - By isolating shade modules into an independent project and
> > uploading
> > > > shade-jars to the central repository, we eliminate the need to
> rebuild
> > > > these modules in every SeaTunnel packaging cycle. For daily
> > development,
> > > > this reduces the total build time by ~8 minutes per build (for
> > developers
> > > > not modifying shade code).
> > > > - For the 3.0 release process, we can pre-build and publish
> > shade-jars
> > > > to the central repository once, then reference them as dependencies —
> > > > cutting the release packaging time by a substantial margin and
> > reducing the
> > > > risk of build failures caused by long-running shade module builds.
> > > > 2. **Dependency management enhancement**: Uploading shade-jars to the
> > > > central repository standardizes dependency distribution, avoiding
> > conflicts
> > > > caused by internal shade module duplication across subprojects, and
> > > > improving the stability of the 3.0 version's dependency system.
> > > > 3. **Project structure rationalization**: Isolating shade modules
> > aligns
> > > > with the modular design concept of 3.0, making the project structure
> > > > clearer, easier to maintain, and facilitating future expansion of
> > > > shade-related capabilities (e.g., adding new shade modules for
> > additional
> > > > dependencies).
> > > >
> > > > This optimization directly addresses the identified packaging
> > bottlenecks
> > > > (long-tail shade modules) and delivers measurable time savings for
> both
> > > > development and release workflows — a critical improvement for the
> > smooth
> > > > delivery and maintainability of SeaTunnel 3.0.
> > > >
> > > > Best regards,
> > > > zhangdonghao
> > > >
> >
>