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

Canal介绍和使用指南 | 李文周的博客 #212

Open
Q1mi opened this issue Nov 18, 2023 · 2 comments
Open

Canal介绍和使用指南 | 李文周的博客 #212

Q1mi opened this issue Nov 18, 2023 · 2 comments

Comments

@Q1mi
Copy link
Owner

Q1mi commented Nov 18, 2023

https://www.liwenzhou.com/posts/Go/canal/

李文周的 Blog 提供 Go 语言中文教程,李文周博客,Go 语言学习之路是我整理的一个免费教程,包含部分视频教程,也是非常适合新手学习Go语言的入门教程。本文介绍了如何使用阿里开源的MySQL数据同步工具canal,包括如何使用docker搭建canal环境和canal server和canal client的使用,最后演示了如何使用go语言读取canal数据。

@chaomingd
Copy link

官方的示例报错呢

@Q1mi
Copy link
Owner Author

Q1mi commented Nov 25, 2023

@chaomingd
官方的示例报错呢

可以看下导入的proto包是否正确,原canal-go使用的是 "github.com/golang/protobuf/proto"
我博客上现在改为我自己 fork版本的 canal-go ,使用的是 "google.golang.org/protobuf/proto"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants