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

sink(ticdc): Add DDL event of debezium protocol #11599

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

wk989898
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #11566 ref #1799

What is changed and how it works?

Debezium provides the SQL CREATE, ALTER, or DROP statement that results in the schema change.
This PR implements encoding for the DDL event and checkpoint event.
For checking data consistency, use kafka consumer to decode events from kafka and write into MySQL.

Check List

Tests

  • Unit test
  • Integration test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Yes

Release note

Support ddl event of debezium protocol 

@ti-chi-bot ti-chi-bot bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 14, 2024
@wk989898 wk989898 marked this pull request as draft September 14, 2024 04:50
@ti-chi-bot ti-chi-bot bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 14, 2024
@ti-chi-bot ti-chi-bot bot added area/dm Issues or PRs related to DM. area/engine Issues or PRs related to Dataflow Engine. labels Sep 23, 2024
@wk989898
Copy link
Contributor Author

/test cdc-integration-kafka-test

Copy link
Contributor

ti-chi-bot bot commented Sep 23, 2024

@wk989898: The label(s) dm, engine cannot be applied. These labels are supported: duplicate, bug-from-internal-test, bug-from-user, affects-5.4, affects-6.1, affects-6.5, affects-7.1, affects-7.5, affects-8.1, affects-8.3, may-affects-5.4, may-affects-6.1, may-affects-6.5, may-affects-7.1, may-affects-7.5, may-affects-8.1, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.5, needs-cherry-pick-release-7.1, needs-cherry-pick-release-7.5, needs-cherry-pick-release-8.1, question, release-blocker, wontfix, MariaDB.

In response to this:

/remove-label dm
/remove-label engine

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@wk989898
Copy link
Contributor Author

/remove-area dm
/remove-area engine

@ti-chi-bot ti-chi-bot bot removed area/dm Issues or PRs related to DM. area/engine Issues or PRs related to Dataflow Engine. labels Sep 23, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 23, 2024

@wk989898: The label(s) dm, engine cannot be applied. These labels are supported: duplicate, bug-from-internal-test, bug-from-user, affects-5.4, affects-6.1, affects-6.5, affects-7.1, affects-7.5, affects-8.1, affects-8.3, may-affects-5.4, may-affects-6.1, may-affects-6.5, may-affects-7.1, may-affects-7.5, may-affects-8.1, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.5, needs-cherry-pick-release-7.1, needs-cherry-pick-release-7.5, needs-cherry-pick-release-8.1, question, release-blocker, wontfix, MariaDB.

In response to this:

/remove-label dm
/remove-label engine

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot ti-chi-bot bot added area/dm Issues or PRs related to DM. area/engine Issues or PRs related to Dataflow Engine. labels Sep 23, 2024
@ti-chi-bot ti-chi-bot bot added the affect-ticdc-config-docs Pull requests that affect TiCDC configuration docs. label Sep 24, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 24, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from wk989898, ensuring that each of them provides their approval before proceeding. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wk989898
Copy link
Contributor Author

/ok-to-test

@ti-chi-bot ti-chi-bot bot added the ok-to-test Indicates a PR is ready to be tested. label Sep 24, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 24, 2024

@wk989898: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
jenkins-ticdc/verify 982d71a link true /test verify
pull-cdc-integration-pulsar-test 982d71a link true /test cdc-integration-pulsar-test
pull-dm-integration-test 982d71a link true /test dm-integration-test
pull-cdc-integration-mysql-test 982d71a link true /test cdc-integration-mysql-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affect-ticdc-config-docs Pull requests that affect TiCDC configuration docs. area/dm Issues or PRs related to DM. area/engine Issues or PRs related to Dataflow Engine. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. ok-to-test Indicates a PR is ready to be tested. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ddl event of debezium protocol
2 participants