Skip to content

Commit

Permalink
repo rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiealquiza committed Aug 13, 2018
1 parent ee0084f commit 8521987
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions cmd/autothrottle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Autothrottle is designed to work as a piggyback system that doesn't take ownersh
- Ability to dynamically set fixed replication rates (via the HTTP API)

# Installation
- `go get github.com/DataDog/topicmappr`
- `go install github.com/DataDog/topicmappr/cmd/autothrottle`
- `go get github.com/DataDog/kafka-kit`
- `go install github.com/DataDog/kafka-kit/cmd/autothrottle`

Binary will be found at `$GOPATH/bin/autothrottle`

Expand Down
2 changes: 1 addition & 1 deletion cmd/autothrottle/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"strconv"

"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkazk"
)

// APIConfig holds configuration
Expand Down
2 changes: 1 addition & 1 deletion cmd/autothrottle/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"
)

// Events configs.
Expand Down
2 changes: 1 addition & 1 deletion cmd/autothrottle/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"sort"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"
)

// bmapBundle holds several maps
Expand Down
2 changes: 1 addition & 1 deletion cmd/autothrottle/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"math"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"
)

// Limits is a map of instance-type
Expand Down
2 changes: 1 addition & 1 deletion cmd/autothrottle/limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"testing"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"
)

func TestNewLimits(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/autothrottle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/topicmappr/kafkametrics/datadog"
"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics/datadog"
"github.com/DataDog/kafka-kit/kafkazk"

"github.com/jamiealquiza/envy"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/autothrottle/throttles.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strconv"
"time"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkametrics"
"github.com/DataDog/kafka-kit/kafkazk"
)

// ReplicationThrottleMeta holds all types
Expand Down
4 changes: 2 additions & 2 deletions cmd/autothrottle/throttles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"sort"
"testing"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkametrics"
"github.com/DataDog/kafka-kit/kafkazk"
)

func TestHighestSrcNetTX(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/metricsfetcher/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Overview

Metricsfetcher is a simple tool that fetches Kafka broker and partition metrics from the Datadog API and stores it in ZooKeeper. This data is used for the topicmappr [storage placement](https://github.com/DataDog/topicmappr/tree/master/cmd/topicmappr#placement-strategy) strategy.
Metricsfetcher is a simple tool that fetches Kafka broker and partition metrics from the Datadog API and stores it in ZooKeeper. This data is used for the topicmappr [storage placement](https://github.com/DataDog/kafka-kit/tree/master/cmd/topicmappr#placement-strategy) strategy.

# Installation
- `go get github.com/DataDog/topicmappr`
- `go install github.com/DataDog/topicmappr/cmd/metricsfetcher`
- `go get github.com/DataDog/kafka-kit`
- `go install github.com/DataDog/kafka-kit/cmd/metricsfetcher`

Binary will be found at `$GOPATH/bin/metricsfetcher`

Expand Down
2 changes: 1 addition & 1 deletion cmd/metricsfetcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"os"

"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkazk"

"github.com/jamiealquiza/envy"
dd "github.com/zorkian/go-datadog-api"
Expand Down
6 changes: 3 additions & 3 deletions cmd/topicmappr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ An output of what's changed along with advisory notices (e.g. insufficient broke
Additional statistical output is included where available. For instance, broker-to-broker relationships are represented as node degree counts (where edges are defined as brokers that belong in a common replica set for any given partition). These values can be used as a probabilistic indicator of replication bandwidth; replacing a broker with more edges will likely replicate from more source brokers than one with fewer edges.

# Installation
- `go get github.com/DataDog/topicmappr`
- `go install github.com/DataDog/topicmappr/cmd/topicmappr`
- `go get github.com/DataDog/kafka-kit`
- `go install github.com/DataDog/kafka-kit/cmd/topicmappr`

Binary will be found at `$GOPATH/bin/topicmappr`

Expand Down Expand Up @@ -74,4 +74,4 @@ Usage of topicmappr:

## Managing and Repairing Topics

See the wiki [Usage Guide](https://github.com/DataDog/topicmappr/wiki/Usage-Guide) section for examples of common topic management tasks.
See the wiki [Usage Guide](https://github.com/DataDog/kafka-kit/wiki/Usage-Guide) section for examples of common topic management tasks.
2 changes: 1 addition & 1 deletion cmd/topicmappr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sort"
"strings"

"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkazk"

"github.com/jamiealquiza/envy"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/topicmappr/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"sort"

"github.com/DataDog/topicmappr/kafkazk"
"github.com/DataDog/kafka-kit/kafkazk"
)

// initZooKeeper inits a ZooKeeper connection if one is needed.
Expand Down Expand Up @@ -35,7 +35,7 @@ func initZooKeeper() kafkazk.Handler {
}

// *References to metrics metadata persisted in ZooKeeper, see:
// https://github.com/DataDog/topicmappr/tree/master/cmd/metricsfetcher#data-structures)
// https://github.com/DataDog/kafka-kit/tree/master/cmd/metricsfetcher#data-structures)

// getbrokerMeta returns a map of brokers and broker metadata
// for those registered in ZooKeeper. Optionally, metrics metadata
Expand Down
2 changes: 1 addition & 1 deletion kafkametrics/datadog/datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"regexp"
"time"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"

dd "github.com/zorkian/go-datadog-api"
)
Expand Down
2 changes: 1 addition & 1 deletion kafkametrics/datadog/datadog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"testing"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"

dd "github.com/zorkian/go-datadog-api"
)
Expand Down
2 changes: 1 addition & 1 deletion kafkametrics/datadog/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/DataDog/topicmappr/kafkametrics"
"github.com/DataDog/kafka-kit/kafkametrics"

dd "github.com/zorkian/go-datadog-api"
)
Expand Down

0 comments on commit 8521987

Please sign in to comment.