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

[Optimization][MySQLCDC] MySQLCDCBuild can't support earliest-offset or timestamp scanStartupMode now.Hope to upgrade it. #3090

Closed
2 of 3 tasks
hpp523661618 opened this issue Jan 30, 2024 · 3 comments · Fixed by #3142
Assignees
Labels
Optimization Optimization function

Comments

@hpp523661618
Copy link

hpp523661618 commented Jan 30, 2024

Search before asking

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

Description

situation:It seems like MySQLCDCBuild do not support earliest-offset and timestamp scanStartupMode. Perhaps you can upgrade the version of cdc version to be more useful in production.

if (Asserts.isNotNullString(config.getStartupMode())) { switch (config.getStartupMode().toLowerCase()) { case "initial": sourceBuilder.startupOptions(StartupOptions.initial()); break; case "latest-offset": sourceBuilder.startupOptions(StartupOptions.latest()); break; default: } } else { sourceBuilder.startupOptions(StartupOptions.latest()); }
version: dlink-0.7.0/ flink-1.14

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@hpp523661618 hpp523661618 added Optimization Optimization function Waiting for reply Waiting for reply labels Jan 30, 2024
Copy link

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

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

@Zzm0809
Copy link
Contributor

Zzm0809 commented Jan 30, 2024

@hpp523661618 请补全 issue title , 否则将置为无效 issue

@Zzm0809 Zzm0809 removed the Waiting for reply Waiting for reply label Jan 30, 2024
@hpp523661618 hpp523661618 changed the title [Optimization][MySQLCDC] [Optimization][MySQLCDC] MySQLCDCBuild can't support earliest-offset or timestamp scanStarupMode now.Hope to upgrade it. Jan 30, 2024
@hpp523661618 hpp523661618 changed the title [Optimization][MySQLCDC] MySQLCDCBuild can't support earliest-offset or timestamp scanStarupMode now.Hope to upgrade it. [Optimization][MySQLCDC] MySQLCDCBuild can't support earliest-offset or timestamp scanStartupMode now.Hope to upgrade it. Jan 30, 2024
@aiwenmo
Copy link
Contributor

aiwenmo commented Feb 3, 2024

Thanks for your feedback.
0.7 has no planned upgrade, you can try modifying the source code yourself or upgrading to 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization Optimization function
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants