Skip to content

Commit 3793f8b

Browse files
committed
Upgrade dependencies
1 parent 911b783 commit 3793f8b

File tree

5 files changed

+379
-256
lines changed

5 files changed

+379
-256
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################################################
22
# Build image
33
############################################################
4-
FROM golang:1.16-alpine as builder
4+
FROM golang:1.18-alpine as builder
55
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
66

77
WORKDIR /app

e2e/message_tracker.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package e2e
22

33
import (
44
"fmt"
5-
"github.com/ReneKroon/ttlcache/v2"
65
"strconv"
76
"time"
87

8+
"github.com/jellydator/ttlcache/v2"
9+
910
"go.uber.org/zap"
1011
)
1112

e2e/producer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (s *Service) produceMessage(ctx context.Context, partition int) {
6161
msg.state = EndToEndMessageStateProducedSuccessfully
6262
msg.produceLatency = ackDuration.Seconds()
6363

64-
// TODO: Enable again as soon as https://github.com/ReneKroon/ttlcache/issues/60 is fixed
64+
// TODO: Enable again as soon as https://github.com/jellydatora/ttlcache/issues/60 is fixed
6565
// Because we cannot update cache items in an atomic fashion we currently can't use this method
6666
// as this would cause a race condition which ends up in records being reported as lost/expired.
6767
// s.messageTracker.updateItemIfExists(msg)

go.mod

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,54 @@
11
module github.com/cloudhut/kminion/v2
22

3-
go 1.15
3+
go 1.18
44

55
require (
6-
github.com/ReneKroon/ttlcache/v2 v2.8.0
7-
github.com/golang/protobuf v1.5.2 // indirect
8-
github.com/google/uuid v1.2.0
6+
github.com/google/uuid v1.3.0
97
github.com/jcmturner/gokrb5/v8 v8.4.2
10-
github.com/knadh/koanf v0.16.0
11-
github.com/kr/text v0.2.0 // indirect
12-
github.com/mitchellh/copystructure v1.2.0 // indirect
13-
github.com/mitchellh/mapstructure v1.4.1
14-
github.com/orcaman/concurrent-map v0.0.0-20210501183033-44dafcb38ecc
15-
github.com/pelletier/go-toml v1.9.1 // indirect
8+
github.com/jellydator/ttlcache/v2 v2.11.1
9+
github.com/knadh/koanf v1.4.1
10+
github.com/mitchellh/mapstructure v1.5.0
11+
github.com/orcaman/concurrent-map v1.0.0
1612
github.com/pkg/errors v0.9.1
17-
github.com/prometheus/client_golang v1.10.0
18-
github.com/prometheus/common v0.24.0 // indirect
13+
github.com/prometheus/client_golang v1.12.1
1914
github.com/stretchr/testify v1.7.0
20-
github.com/twmb/franz-go v1.4.1
15+
github.com/twmb/franz-go v1.5.1
2116
github.com/twmb/franz-go/pkg/kmsg v1.0.0
22-
go.uber.org/atomic v1.7.0
23-
go.uber.org/multierr v1.7.0 // indirect
24-
go.uber.org/zap v1.16.0
25-
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
26-
golang.org/x/mod v0.4.2 // indirect
17+
github.com/twmb/franz-go/pkg/sasl/kerberos v1.0.0
18+
go.uber.org/atomic v1.9.0
19+
go.uber.org/zap v1.21.0
2720
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
21+
)
22+
23+
require (
24+
github.com/beorn7/perks v1.0.1 // indirect
25+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
26+
github.com/davecgh/go-spew v1.1.1 // indirect
27+
github.com/fsnotify/fsnotify v1.5.4 // indirect
28+
github.com/golang/protobuf v1.5.2 // indirect
29+
github.com/hashicorp/go-uuid v1.0.3 // indirect
30+
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
31+
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
32+
github.com/jcmturner/gofork v1.0.0 // indirect
33+
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
34+
github.com/klauspost/compress v1.15.2 // indirect
35+
github.com/kr/text v0.2.0 // indirect
36+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
37+
github.com/mitchellh/copystructure v1.2.0 // indirect
38+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
39+
github.com/pelletier/go-toml v1.9.1 // indirect
40+
github.com/pierrec/lz4/v4 v4.1.14 // indirect
41+
github.com/pmezard/go-difflib v1.0.0 // indirect
42+
github.com/prometheus/client_model v0.2.0 // indirect
43+
github.com/prometheus/common v0.34.0 // indirect
44+
github.com/prometheus/procfs v0.7.3 // indirect
45+
github.com/twmb/go-rbtree v1.0.0 // indirect
46+
go.uber.org/multierr v1.8.0 // indirect
47+
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f // indirect
48+
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
49+
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
50+
google.golang.org/protobuf v1.28.0 // indirect
2851
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
2952
gopkg.in/yaml.v2 v2.4.0 // indirect
30-
honnef.co/go/tools v0.1.4 // indirect
53+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
3154
)

0 commit comments

Comments
 (0)