-
Notifications
You must be signed in to change notification settings - Fork 168
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
protobuf命名冲突警告 #58
Comments
@ouqiang 我也遇到相同的问题,应该是EntryProtocol.proto中有个枚举值也叫HEARTBEAT |
canal-go/protocol/EntryProtocol.proto Line 190 in fbdaa41
换个名称就可以了 |
这个应该是java那边的主仓库更改过proto文件吧,我这边没更新。 |
java那边的仓库修改proto文件后会同步到这边吗? 会不会跟使用的protoc版本有关。 |
不会,你可以提个pr过来。 proto文件在这里都在这里protocol,java那边没有一个公共的库呢。 |
一样,我也看到这个告警 |
请问,这个是还没修复是嘛 |
不算问题,只是警告可正常使用。 |
有些protobuf版本是警告,有些版本就是panic了。详细参考:https://developers.google.cn/protocol-buffers/docs/reference/go/faq |
/close |
你好,运行时会提示命名冲突
WARNING: proto: file "EntryProtocol.proto" has a name conflict over com.alibaba.otter.canal.protocol.HEARTBEAT
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
The text was updated successfully, but these errors were encountered: