Skip to content

Commit 3c918db

Browse files
authored
Merge branch 'master' into prometheus
2 parents 0a6968d + 4ce194f commit 3c918db

7 files changed

Lines changed: 99 additions & 86 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
go-version: [1.12.x, 1.13.x]
12+
go-version: [1.13.x, 1.14.x]
1313
platform: [ubuntu-latest]
1414

1515
steps:
@@ -35,7 +35,7 @@ jobs:
3535
shell: bash
3636

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

4040
- name: Run test suite
4141
run: make test

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v1
2020
with:
21-
go-version: 1.13.x
21+
go-version: 1.14.x
2222

2323
- uses: actions/cache@v1
2424
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# stage 1: builder
2-
FROM golang:1.13.7-alpine as builder
2+
FROM golang:1.14.2-alpine as builder
33

44
ENV BURROW_SRC /usr/src/Burrow/
55

core/internal/helpers/sarama.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ var kafkaVersions = map[string]sarama.KafkaVersion{
5555
"2.2.1": sarama.V2_2_0_0,
5656
"2.3.0": sarama.V2_3_0_0,
5757
"2.4.0": sarama.V2_4_0_0,
58+
"2.5.0": sarama.V2_5_0_0,
5859
}
5960

6061
func parseKafkaVersion(kafkaVersion string) sarama.KafkaVersion {
@@ -113,7 +114,6 @@ func GetSaramaConfigFromClientProfile(profileName string) *sarama.Config {
113114
panic("cannot read TLS certificate or key file: " + err.Error())
114115
}
115116
saramaConfig.Net.TLS.Config.Certificates = []tls.Certificate{cert}
116-
saramaConfig.Net.TLS.Config.BuildNameToCertificate()
117117
}
118118
}
119119
saramaConfig.Net.TLS.Config.InsecureSkipVerify = viper.GetBool("tls." + tlsName + ".noverify")

core/internal/httpserver/coordinator.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ func (hc *Coordinator) Configure() {
115115
panic("cannot read TLS certificate or key file: " + err.Error())
116116
}
117117
server.TLSConfig.Certificates = []tls.Certificate{cert}
118-
server.TLSConfig.BuildNameToCertificate()
119118
}
120119
hc.servers[name] = server
121120
hc.theCert[name] = certFile

go.mod

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,44 @@ module github.com/linkedin/Burrow
22

33
require (
44
github.com/OneOfOne/xxhash v1.2.7
5-
github.com/Shopify/sarama v1.26.0
6-
github.com/eapache/go-resiliency v1.2.0 // indirect
7-
github.com/frankban/quicktest v1.7.2 // indirect
8-
github.com/google/go-cmp v0.4.0 // indirect
5+
github.com/Shopify/sarama v1.26.2
6+
github.com/frankban/quicktest v1.10.0 // indirect
7+
github.com/fsnotify/fsnotify v1.4.9 // indirect
98
github.com/google/uuid v1.1.1 // indirect
10-
github.com/gopherjs/gopherjs v0.0.0-20191106031601-ce3c9ade29de // indirect
11-
github.com/hashicorp/go-uuid v1.0.2 // indirect
12-
github.com/jcmturner/gofork v1.0.0 // indirect
9+
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect
1310
github.com/julienschmidt/httprouter v1.3.0
1411
github.com/karrick/goswarm v1.10.0
15-
github.com/klauspost/compress v1.9.8 // indirect
16-
github.com/kr/pretty v0.2.0 // indirect
12+
github.com/klauspost/compress v1.10.5 // indirect
13+
github.com/kr/text v0.2.0 // indirect
14+
github.com/mitchellh/mapstructure v1.3.0 // indirect
15+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
1716
github.com/pborman/uuid v1.2.0
18-
github.com/pelletier/go-toml v1.6.0 // indirect
19-
github.com/pierrec/lz4 v2.4.1+incompatible // indirect
17+
github.com/pelletier/go-toml v1.7.0 // indirect
18+
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
2019
github.com/pkg/errors v0.9.1
2120
github.com/prometheus/client_golang v0.9.3
22-
github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563 // indirect
21+
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
2322
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da
24-
github.com/smartystreets/assertions v1.0.1 // indirect
23+
github.com/smartystreets/assertions v1.1.0 // indirect
2524
github.com/spf13/afero v1.2.2 // indirect
2625
github.com/spf13/cast v1.3.1 // indirect
2726
github.com/spf13/jwalterweatherman v1.1.0 // indirect
2827
github.com/spf13/pflag v1.0.5 // indirect
29-
github.com/spf13/viper v1.6.2
28+
github.com/spf13/viper v1.6.3
3029
github.com/stretchr/objx v0.2.0 // indirect
31-
github.com/stretchr/testify v1.4.0
32-
go.uber.org/atomic v1.5.1 // indirect
33-
go.uber.org/multierr v1.4.0 // indirect
34-
go.uber.org/zap v1.13.0
35-
golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d // indirect
36-
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
37-
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa // indirect
38-
golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9 // indirect
39-
golang.org/x/text v0.3.2 // indirect
40-
golang.org/x/tools v0.0.0-20200129045341-207d3de1faaf // indirect
30+
github.com/stretchr/testify v1.5.1
31+
go.uber.org/zap v1.15.0
32+
golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79 // indirect
33+
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
34+
golang.org/x/net v0.0.0-20200505041828-1ed23360d12c // indirect
35+
golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect
36+
golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8 // indirect
4137
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
42-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
38+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
4339
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
44-
gopkg.in/ini.v1 v1.51.1 // indirect
45-
gopkg.in/jcmturner/gokrb5.v7 v7.4.0 // indirect
40+
gopkg.in/ini.v1 v1.55.0 // indirect
4641
gopkg.in/natefinch/lumberjack.v2 v2.0.0
47-
gopkg.in/yaml.v2 v2.2.8 // indirect
42+
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
4843
)
4944

5045
go 1.13

0 commit comments

Comments
 (0)