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

what should I do to support binlog pos not gtid #232

Open
dayuanyuan1989 opened this issue Nov 14, 2019 · 1 comment
Open

what should I do to support binlog pos not gtid #232

dayuanyuan1989 opened this issue Nov 14, 2019 · 1 comment

Comments

@dayuanyuan1989
Copy link

I saw function fixGTID in binlog_tailer.go, what is this function work for?

If I want to make it to support binlog pos, should I write a function like fixBinLogPos

@Ryan-Git
Copy link
Collaborator

no.

It's quite a few change.

  • use go-mysql's pos api to subscribe binlog
  • adapt mysql stream position to support both pos and gtid

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

No branches or pull requests

2 participants