Skip to content

Commit

Permalink
govendor add dependencies
Browse files Browse the repository at this point in the history
* latest sarama, looks stable
* MT cluster partitioner
  just after 0.7 see grafana/metrictank#526

and the dependencies of sarama itself:

* github.com/eapache/go-resiliency/breaker
* github.com/davecgh/go-spew/spew
* github.com/rcrowley/go-metrics
* github.com/klauspost/crc32
* github.com/eapache/queue
* github.com/pierrec/lz4 (which pulls in github.com/pierrec/xxHash/xxHash32 )
* github.com/eapache/go-xerial-snappy (which pulls in github.com/golang/snappy)
  • Loading branch information
Dieterbe committed Feb 16, 2017
1 parent 0aaae50 commit b66e994
Show file tree
Hide file tree
Showing 129 changed files with 19,402 additions and 7 deletions.
6 changes: 3 additions & 3 deletions route/kafkamdm.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/Shopify/sarama"
"github.com/lomik/go-carbon/persister"
"github.com/raintank/metrictank/cluster"
"github.com/raintank/metrictank/cluster/partitioner"
"gopkg.in/raintank/schema.v1"
)

Expand All @@ -25,7 +25,7 @@ type KafkaMdm struct {
topic string
broker string
buf chan []byte
partitioner *cluster.KafkaPartitioner
partitioner *partitioner.Kafka
schemas persister.WhisperSchemas

orgId int // organisation to publish data under
Expand Down Expand Up @@ -78,7 +78,7 @@ func NewKafkaMdm(key, prefix, sub, regex, broker, topic, codec, schemasFile, par
numBuffered: stats.Gauge("dest=" + cleanAddr + ".unit=Metric.what=numBuffered"),
}

r.partitioner, err = cluster.NewKafkaPartitioner(partitionBy)
r.partitioner, err = partitioner.NewKafka(partitionBy)
if err != nil {
log.Fatal(4, "kafkaMdm %q: failed to initialize partitioner. %s", r.Key, err)
}
Expand Down
355 changes: 355 additions & 0 deletions vendor/github.com/Shopify/sarama/CHANGELOG.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions vendor/github.com/Shopify/sarama/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions vendor/github.com/Shopify/sarama/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions vendor/github.com/Shopify/sarama/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions vendor/github.com/Shopify/sarama/Vagrantfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions vendor/github.com/Shopify/sarama/api_versions_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 87 additions & 0 deletions vendor/github.com/Shopify/sarama/api_versions_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b66e994

Please sign in to comment.