Skip to content

[3.0][cdc-common] Add TypeSerializer implementations#2683

Merged
ruanhang1993 merged 6 commits intoapache:masterfrom
ruanhang1993:cdc3.0
Nov 17, 2023
Merged

[3.0][cdc-common] Add TypeSerializer implementations#2683
ruanhang1993 merged 6 commits intoapache:masterfrom
ruanhang1993:cdc3.0

Conversation

@ruanhang1993
Copy link
Copy Markdown
Contributor

Add TypeSerializer implementations

@lvyanquan
Copy link
Copy Markdown
Contributor

Over all, LGTM.

import java.util.Arrays;

/** TODO: A {@link TypeSerializer} for {@link ChangeEvent}. */
public final class ChangeEventSerializer extends TypeSerializer<ChangeEvent> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We also need a EventSerializer, as Event is the intermediate class from Source to Sink.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If we need this, I think it is better to create a new issue to trace it.

@leonardBang
Copy link
Copy Markdown
Contributor

@ruanhang1993 Thanks for the contribution, would you wind help review and merge my type pr[1] firstly? And then, we can finish all serializer work in this PR.

[1]#2688

@leonardBang leonardBang added this to the V3.0.0 milestone Nov 13, 2023
Copy link
Copy Markdown
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ruanhang1993 for the contribution, I left some comments

@leonardBang
Copy link
Copy Markdown
Contributor

Thanks @ruanhang1993 for the update, could you fix the compile issue and add some tests, I think we can open some follow-up sub tasks to add more tests

@ruanhang1993
Copy link
Copy Markdown
Contributor Author

Thanks @ruanhang1993 for the update, could you fix the compile issue and add some tests, I think we can open some follow-up sub tasks to add more tests

Thanks. Fixed it. I will add tests in #2713.

Copy link
Copy Markdown
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ruanhang1993 for the update, LGTM, let's push the core runtime implementation first

@ruanhang1993 ruanhang1993 merged commit af5a0ce into apache:master Nov 17, 2023
ruanhang1993 added a commit to ruanhang1993/flink-cdc-connectors that referenced this pull request Nov 21, 2023
[3.0][cdc-runtime] Add OperatorEvent and CoordinationRequest implementations

[3.0][cdc-runtime] Add SchemaOperatorCoordinator to apply schema change

[3.0][cdc-runtime] Add SchemaOperator to notify schema change and block data

fix

fix review

fix review

fix

Revert "[3.0][cdc-common] Add TypeSerializer implementations (apache#2683)"

This reverts commit af5a0ce.
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants