Skip to content

[FLINK-39257] Remove compatibility code for older versions of Flink.#4317

Merged
yuxiqian merged 1 commit into
apache:masterfrom
sd4324530:FLINK-39257
Mar 17, 2026
Merged

[FLINK-39257] Remove compatibility code for older versions of Flink.#4317
yuxiqian merged 1 commit into
apache:masterfrom
sd4324530:FLINK-39257

Conversation

@sd4324530
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Pei Yu <125331682@qq.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes reflection-based compatibility shims for Flink 1.18 in DataSinkTranslator, replacing them with direct calls to TwoPhaseCommittingSink and CommitterOperatorFactory APIs.

Changes:

  • Replaced reflection-based getCommittableSerializer and getCommitterOperatorFactory methods with direct API usage
  • Added explicit import of CommitterOperatorFactory and removed unnecessary imports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@yuxiqian yuxiqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for cleaning up!

@yuxiqian yuxiqian merged commit bcb4a4b into apache:master Mar 17, 2026
21 checks passed
@sd4324530 sd4324530 deleted the FLINK-39257 branch March 17, 2026 01:10
Mrart pushed a commit to Mrart/flink-cdc that referenced this pull request Mar 26, 2026
ThorneANN pushed a commit to ThorneANN/flink-cdc that referenced this pull request Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants