seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

你们的官方文档能不能好好的整理一下!!!!

Open LeeSmallNorth opened this issue 8 months ago • 1 comments

各种404的链接,各种过时的脚本配置,照着官网,一天没能同步一次成功的数据,脚本怎么写都不对,我真没时间陪你们胡闹了。

就mysql写到mysql,这个简单的操作 `env { execution.parallelism = 1 job.mode = "BATCH" }

source { jdbc { url = "jdbc:mysql://192.168.1.11:3306/ceshi?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" driver = "com.mysql.cj.jdbc.Driver" username = "root" password = "szls@123" query = "select id,name,age,city from user where age >= 18" plugin_output = "source_mysql_data" } }

sink { jdbc { plugin_input = "source_mysql_data" url = "jdbc:mysql://192.168.1.11:3306/ceshi?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" driver = "com.mysql.cj.jdbc.Driver" username = "root" password = "szls@123" table = "user_result" } }`

souce中jdbc 不能写成Jdbc,报错!!!! sink中jdbc,用户名叫user

Image mysql中用户名叫username Image

既然mysql用的也是jdbc连接器,为啥没统一!!!!

厉害的来了 sink不认jdbc,也不认mysql运行就报错 Image 第二步 generate_sink_sql非必填,运行还是报错 Image

Image

我一下午就研究这一个破方法都没通,求求你们了,能不能好好整理一下官方文档

LeeSmallNorth avatar Mar 27 '26 07:03 LeeSmallNorth

Thanks for writing this so directly, and sorry for the experience you had here.

I checked the current code path and there are two different problems mixed together in this report.

First, in the core plugin discovery path, factory identifier matching is case-insensitive, so Jdbc vs jdbc should not be the deciding factor inside the engine itself. If that difference changed behavior in your flow, it is more likely happening in the UI/export/validation layer than in the core connector runtime.

Second, the JDBC config naming really is inconsistent from a user perspective. In core, the JDBC option is username with fallback user, so both can be accepted, but our docs/examples/UI are not aligned enough and that is understandably confusing. I also do not see a linked dev-branch PR that fully cleans this up yet.

Because this thread bundles broken links, example drift, generated config, and runtime validation into one report and is already closed, the most useful next step if you still hit it would be a focused follow-up with:

  1. the exact entry point: Web UI form, REST JSON submission, or HOCON file
  2. the exact exported config that failed
  3. the exact error when generate_sink_sql is omitted
  4. the exact documentation URL that returned 404

Your complaint is fair: the documentation/config consistency here needs work. Thanks for taking the time to spell it out even though the experience was frustrating.

DanielLeens avatar Apr 11 '26 05:04 DanielLeens