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

add binlog socket config for compatible with kafka version pump #8732

Merged
merged 7 commits into from
Dec 19, 2018

Conversation

WangXiangUSTC
Copy link
Contributor

@WangXiangUSTC WangXiangUSTC commented Dec 18, 2018

What problem does this PR solve?

add binlog socket config for compatible with kafka version pump

What is changed and how it works?

add a new config binlogsocket
if binlogsocket is not empty, will use pumpcli.NewLocalPumpsClient to create a pump client, and this pump client will only write binlog to the local pump by this socket file.

Check List

Tests

  • Integration test
  • Manual test
    set binlogsocket, and deploy kafka version pump, write data and then check

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to update the tidb-ansible repository
  • Need to be included in the release note

This change is Reviewable

@WangXiangUSTC
Copy link
Contributor Author

@jackysp @GregoryIan @july2993 PTAL

tidb-server/main.go Outdated Show resolved Hide resolved
@zhouqiang-cl
Copy link
Contributor

/rebuild

@pingcap pingcap deleted a comment from zhouqiang-cl Dec 19, 2018
Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@WangXiangUSTC WangXiangUSTC added the status/LGT1 Indicates that a PR has LGTM 1. label Dec 19, 2018
@IANTHEREAL
Copy link
Contributor

LGTM

Copy link
Contributor

@IANTHEREAL IANTHEREAL left a comment

Choose a reason for hiding this comment

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

LGTM

@WangXiangUSTC WangXiangUSTC merged commit 2f54639 into pingcap:master Dec 19, 2018
@WangXiangUSTC WangXiangUSTC deleted the xiang/binlog_compatible branch January 24, 2019 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants