AliwareMQ / aliware-kafka-demos

提供各种客户端接入阿里云 消息队列 Kafka 的demo工程(Provide a demo project for various clients to access Alibaba Cloud message queue Kafka)
https://www.aliyun.com/product/kafka
411 stars 215 forks source link

go confluent客户端 跨平台编译报错 #61

Open ZongzhiCui opened 3 years ago

ZongzhiCui commented 3 years ago

消息队列 kafka 使用go SDK 的confluent客户端,在各自平台编译(darwin, windows, linux)都没问题, 但是跨平台编译则失败 consumer.go:52:40: undefined: kafka.Consumer consumer.go:55:19: undefined: kafka.ConfigMap consumer.go:82:9: undefined: kafka.NewError consumer.go:82:24: undefined: kafka.ErrUnknownProtocol consumer.go:85:19: undefined: kafka.NewConsumer

有没有遇到的,或者有解决方案的

wahson-gong commented 2 years ago

+1