Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Breaking change in Shopify/sarama #6

Closed
sbowman opened this issue Feb 27, 2015 · 4 comments
Closed

Breaking change in Shopify/sarama #6

sbowman opened this issue Feb 27, 2015 · 4 comments

Comments

@sbowman
Copy link

sbowman commented Feb 27, 2015

They refactored the consumer event processing, breaking apart events into messages and errors and adding a "PartitionConsumer" layer (as opposed to what other type of consumer?).

@dim
Copy link
Member

dim commented Mar 7, 2015

I'm working on an update and have found a problem with sarama - IBM/sarama#325. Will resume once I have a solution or a workaround.

@dim
Copy link
Member

dim commented Mar 8, 2015

Pushed in e97716f and exported as gopkg.in/bsm/sarama-cluster.v1

@dim dim closed this as completed Mar 8, 2015
@sbowman
Copy link
Author

sbowman commented Mar 11, 2015

go get -u gopkg.in/bsm/sarama-cluster.v1
# gopkg.in/bsm/sarama-cluster.v1
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:150: cannot use scsmr (type sarama.Consumer) as type *sarama.Consumer in field value:
    *sarama.Consumer is pointer to interface, not interface
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:298: pcsm.Messages undefined (type *sarama.PartitionConsumer has no field or method Messages)
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:313: pcsm.Errors undefined (type *sarama.PartitionConsumer has no field or method Errors)
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:342: c.consumer.Close undefined (type *sarama.Consumer has no field or method Close)
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:399: c.Close undefined (type *sarama.PartitionConsumer has no field or method Close)
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:435: c.consumer.ConsumePartition undefined (type *sarama.Consumer has no field or method ConsumePartition)
../../../../gopkg.in/bsm/sarama-cluster.v1/consumer.go:437: c.consumer.ConsumePartition undefined (type *sarama.Consumer has no field or method ConsumePartition)

@dim
Copy link
Member

dim commented Mar 12, 2015

Try github.com/bsm/sarama-cluster

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants