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

pump client: compatible with kafka version tidb-binlog && add unit test #139

Merged
merged 15 commits into from
Dec 18, 2018

Conversation

WangXiangUSTC
Copy link
Contributor

What problem does this PR solve?

make pump client compatible with kafka version tidb-binlog

What is changed and how it works?

add binlog socket as args when create pumps client, and if binlog socket is not empty, will always use local pump to write binlog.

Check List

Tests

  • Manual test

Related changes

  • Need to update the documentation
  • Need to be included in the release note

@WangXiangUSTC
Copy link
Contributor Author

@july2993 @GregoryIan PTAL

@WangXiangUSTC WangXiangUSTC changed the title pump client: compatible with kafka version tidb-binlog pump client: compatible with kafka version tidb-binlog && add unit test Dec 10, 2018
@WangXiangUSTC
Copy link
Contributor Author

@GregoryIan @july2993 PTAL again

}

// NewLocalUnixSelector returns a LocalUnixSelector.
func NewLocalUnixSelector() PumpSelector {
Copy link
Contributor

Choose a reason for hiding this comment

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

return LocalUnixSelector type

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you mean update comment?

@IANTHEREAL
Copy link
Collaborator

rest LGTM

@IANTHEREAL
Copy link
Collaborator

are any stability test running? @WangXiangUSTC

@WangXiangUSTC
Copy link
Contributor Author

already run a test before @GregoryIan

@IANTHEREAL
Copy link
Collaborator

can you describe your test or paste a link about it?

@IANTHEREAL
Copy link
Collaborator

@july2993 PTAL

Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

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

rest LGTM

@WangXiangUSTC
Copy link
Contributor Author

WangXiangUSTC commented Dec 18, 2018

https://internal.pingcap.net/jira/browse/TOOL-718
create a issue for test, and add a simple shell script to test now. will add schrodinger test later
@GregoryIan

@IANTHEREAL
Copy link
Collaborator

LGTM

Copy link
Contributor

@july2993 july2993 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 b2235d4 into master Dec 18, 2018
@WangXiangUSTC WangXiangUSTC deleted the xiang/binlog_compatible branch December 18, 2018 07:26
WangXiangUSTC added a commit to WangXiangUSTC/tidb-tools that referenced this pull request Mar 25, 2019
IANTHEREAL pushed a commit that referenced this pull request Mar 29, 2019
… strategy config (#223)

* pump client: compatible with kafka version tidb-binlog && add unit test (#139)

* pump client: write commit binlog will never return error (#148)

* pkg watcher: move watcher from tidb-enterprise-tools (#146)

* pump client: increase retry time, and refine some code (#158)

* pump client: add initial log function (#165)

* pump client: support change select pump's strategy (#221)
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