tx7do / kratos-transport

kratos transport layer extension
MIT License
340 stars 92 forks source link

项目使用 transport/kafka v1.2.10 会编译失败 #88

Closed dgqypl closed 3 months ago

dgqypl commented 3 months ago

go.mod 中使用如下 import:

github.com/tx7do/kratos-transport v1.1.5
github.com/tx7do/kratos-transport/broker/kafka v1.2.10
github.com/tx7do/kratos-transport/transport/kafka v1.2.10

编译报错:

go build ./...
# github.com/tx7do/kratos-transport/broker/kafka
/Users/mew151/go/pkg/mod/github.com/tx7do/kratos-transport/broker/kafka@v1.2.10/kafka.go:628:6: unknown field Partition in struct literal of type broker.Message
/Users/mew151/go/pkg/mod/github.com/tx7do/kratos-transport/broker/kafka@v1.2.10/kafka.go:629:6: unknown field Offset in struct literal of type broker.Message

查看错误:

错误截图 1 错误截图 2

感觉是不是应该新打个 v1.1.6 的 tag?

dgqypl commented 3 months ago

https://github.com/tx7do/kratos-transport/issues/85

tx7do commented 3 months ago

我来升一下。