Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 1.2.0-RC5: flink jar task cdc to doris :create-table-only parameter ignore #4051

Closed
2 of 3 tasks
bestboy opened this issue Dec 16, 2024 · 3 comments
Closed
2 of 3 tasks
Assignees
Labels
Bug Something isn't working

Comments

@bestboy
Copy link

bestboy commented Dec 16, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

创建flink cdc 任务,当指定:create-table-only 参数时,无效,创建完表后,数据依然会同步
mysql-sync-database
--database datacenter
--mysql-conf hostname=192.168.40.84
--mysql-conf port=3306
--mysql-conf username=develop
--mysql-conf password=xxxxx
--mysql-conf database-name=datacenter
--mysql-conf server-time-zone=Asia/Shanghai
--mysql-conf scan.startup.mode=latest-offset
--use-new-schema-change true
--ignore-default-value true
--including-tables "sbh_plat_order"
--sink-conf fenodes=192.168.40.92:8030
--sink-conf username=admin
--sink-conf password=xxxx
--sink-conf jdbc-url=jdbc:mysql://192.168.40.92:9030
--sink-conf sink.label-prefix=label-dev-datacenter-sbh_plat_order
--table-conf replication_num=1
--create-table-only=true

需要修改scan.startup.mode参数吗?改为哪个模式才不会同步数据,只同步表结构?

What you expected to happen

正常执行

How to reproduce

如图

Anything else

No response

Version

1.2.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@bestboy bestboy added Bug Something isn't working Waiting for reply Waiting for reply labels Dec 16, 2024
Copy link

Hello @bestboy, this issue is about CDC/CDCSOURCE, so I assign it to @aiwenmo. If you have any questions, you can comment and reply.

你好 @bestboy, 这个 issue 是关于 CDC/CDCSOURCE 的,所以我把它分配给了 @aiwenmo。如有任何问题,可以评论回复。

Copy link

Hello @bestboy, this issue is about web, so I assign it to @Zzm0809. If you have any questions, you can comment and reply.

你好 @bestboy, 这个 issue 是关于 web 的,所以我把它分配给了 @Zzm0809。如有任何问题,可以评论回复。

@bestboy bestboy closed this as completed Dec 16, 2024
@bestboy bestboy reopened this Dec 16, 2024
@bestboy bestboy changed the title [Bug] 1.2.0-RC5: flink jar task cdc to doris :create-table-only parameter error [Bug] 1.2.0-RC5: flink jar task cdc to doris :create-table-only parameter ignore Dec 16, 2024
@aiwenmo aiwenmo removed the Waiting for reply Waiting for reply label Dec 16, 2024
@aiwenmo
Copy link
Contributor

aiwenmo commented Dec 16, 2024

Please check the official website documentation of the corresponding component.

@bestboy bestboy closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants