Closed kira3007 closed 5 years ago
src/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)
in sarama-cluster/consumer.go line 452 :
ticker := time.NewTicker(c.client.config.Consumer.Offsets.AutoCommit.Interval)
Please note https://github.com/bsm/sarama-cluster#deprecation-notice
github.com/bsm/sarama-cluster
src/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)
in sarama-cluster/consumer.go line 452 :
ticker := time.NewTicker(c.client.config.Consumer.Offsets.AutoCommit.Interval)