Skip to content

Commit

Permalink
Merge branch 'master' into prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
bai committed May 6, 2020
2 parents 0a6968d + 4ce194f commit 3c918db
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 86 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.12.x, 1.13.x]
go-version: [1.13.x, 1.14.x]
platform: [ubuntu-latest]

steps:
Expand All @@ -35,7 +35,7 @@ jobs:
shell: bash

- name: Install dependencies
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.1
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0

- name: Run test suite
run: make test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
go-version: 1.14.x

- uses: actions/cache@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1: builder
FROM golang:1.13.7-alpine as builder
FROM golang:1.14.2-alpine as builder

ENV BURROW_SRC /usr/src/Burrow/

Expand Down
2 changes: 1 addition & 1 deletion core/internal/helpers/sarama.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ var kafkaVersions = map[string]sarama.KafkaVersion{
"2.2.1": sarama.V2_2_0_0,
"2.3.0": sarama.V2_3_0_0,
"2.4.0": sarama.V2_4_0_0,
"2.5.0": sarama.V2_5_0_0,
}

func parseKafkaVersion(kafkaVersion string) sarama.KafkaVersion {
Expand Down Expand Up @@ -113,7 +114,6 @@ func GetSaramaConfigFromClientProfile(profileName string) *sarama.Config {
panic("cannot read TLS certificate or key file: " + err.Error())
}
saramaConfig.Net.TLS.Config.Certificates = []tls.Certificate{cert}
saramaConfig.Net.TLS.Config.BuildNameToCertificate()
}
}
saramaConfig.Net.TLS.Config.InsecureSkipVerify = viper.GetBool("tls." + tlsName + ".noverify")
Expand Down
1 change: 0 additions & 1 deletion core/internal/httpserver/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ func (hc *Coordinator) Configure() {
panic("cannot read TLS certificate or key file: " + err.Error())
}
server.TLSConfig.Certificates = []tls.Certificate{cert}
server.TLSConfig.BuildNameToCertificate()
}
hc.servers[name] = server
hc.theCert[name] = certFile
Expand Down
51 changes: 23 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,44 @@ module github.com/linkedin/Burrow

require (
github.com/OneOfOne/xxhash v1.2.7
github.com/Shopify/sarama v1.26.0
github.com/eapache/go-resiliency v1.2.0 // indirect
github.com/frankban/quicktest v1.7.2 // indirect
github.com/google/go-cmp v0.4.0 // indirect
github.com/Shopify/sarama v1.26.2
github.com/frankban/quicktest v1.10.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/gopherjs/gopherjs v0.0.0-20191106031601-ce3c9ade29de // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect
github.com/julienschmidt/httprouter v1.3.0
github.com/karrick/goswarm v1.10.0
github.com/klauspost/compress v1.9.8 // indirect
github.com/kr/pretty v0.2.0 // indirect
github.com/klauspost/compress v1.10.5 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mitchellh/mapstructure v1.3.0 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pborman/uuid v1.2.0
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/pierrec/lz4 v2.4.1+incompatible // indirect
github.com/pelletier/go-toml v1.7.0 // indirect
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v0.9.3
github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563 // indirect
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da
github.com/smartystreets/assertions v1.0.1 // indirect
github.com/smartystreets/assertions v1.1.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.6.2
github.com/spf13/viper v1.6.3
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.4.0
go.uber.org/atomic v1.5.1 // indirect
go.uber.org/multierr v1.4.0 // indirect
go.uber.org/zap v1.13.0
golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d // indirect
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa // indirect
golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9 // indirect
golang.org/x/text v0.3.2 // indirect
golang.org/x/tools v0.0.0-20200129045341-207d3de1faaf // indirect
github.com/stretchr/testify v1.5.1
go.uber.org/zap v1.15.0
golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79 // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20200505041828-1ed23360d12c // indirect
golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect
golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
gopkg.in/ini.v1 v1.51.1 // indirect
gopkg.in/jcmturner/gokrb5.v7 v7.4.0 // indirect
gopkg.in/ini.v1 v1.55.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0
gopkg.in/yaml.v2 v2.2.8 // indirect
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
)

go 1.13

0 comments on commit 3c918db

Please sign in to comment.