bsm / sarama-cluster

Cluster extensions for Sarama, the Go client library for Apache Kafka 0.9 [DEPRECATED]
MIT License
1.01k stars 222 forks source link

c.client.config.Config.Consumer.Offsets.CommitInterval undefined #307

Closed liusha0917 closed 4 years ago

liusha0917 commented 4 years ago

../github.com/bsm/sarama-cluster/consumer.go:452:59: c.client.config.Config.Consumer.Offsets.CommitInterval undefined (type struct { AutoCommit struct { Enable bool; Interval time.Duration }; Initial int64; Retention time.Duration; Retry struct { Max int } } has no field or method CommitInterval)

liusha0917 commented 4 years ago

go build error

omkarprabhu-continuum commented 4 years ago

This is an issue @dim . Any update on this?

omkarprabhu-continuum commented 4 years ago

@liusha0917 install/update Shopify/sarama to latest version, that should fix this issue.

mak28031991 commented 4 years ago

@omkarprabhu-continuum updating Shopify/sarama alone didn't work. I have to delete bsm and Shopify and update to fix this.