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

kafka(ticdc): fix kafka consumer doesn't check partition and old message #11483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wk989898
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #11482

What is changed and how it works?

Add partition check and old message check about simple protocol

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?

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-triage-completed contribution This PR is from a community contributor. labels Aug 13, 2024
Copy link
Contributor

ti-chi-bot bot commented Aug 13, 2024

Hi @wk989898. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@ti-chi-bot ti-chi-bot bot added needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 13, 2024
@3AceShowHand
Copy link
Contributor

/ok-to-test

@ti-chi-bot ti-chi-bot bot added ok-to-test Indicates a PR is ready to be tested. and removed needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Sep 2, 2024
@3AceShowHand
Copy link
Contributor

/retest

@3AceShowHand
Copy link
Contributor

/check-issue-triage-complete

Copy link

codecov bot commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.4472%. Comparing base (1e3766e) to head (ecfcb00).
Report is 16 commits behind head on master.

Additional details and impacted files
Components Coverage Δ
cdc 61.1839% <ø> (-0.0185%) ⬇️
dm 51.0213% <ø> (-0.0243%) ⬇️
engine 63.4091% <ø> (+0.0352%) ⬆️
Flag Coverage Δ
unit 57.4472% <ø> (-0.0140%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master     #11483        +/-   ##
================================================
- Coverage   57.4612%   57.4472%   -0.0140%     
================================================
  Files           850        851         +1     
  Lines        126407     126443        +36     
================================================
+ Hits          72635      72638         +3     
- Misses        48364      48401        +37     
+ Partials       5408       5404         -4     

Copy link
Contributor

ti-chi-bot bot commented Sep 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 3AceShowHand

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

The pull request process is described 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

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 2, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 2, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-02 10:46:50.207460661 +0000 UTC m=+268534.725513582: ☑️ agreed by 3AceShowHand.

@wk989898
Copy link
Contributor Author

wk989898 commented Sep 5, 2024

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved contribution This PR is from a community contributor. needs-1-more-lgtm Indicates a PR needs 1 more LGTM. ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kafka consumer needs to correctly check partition and old message
2 participants