Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amuraru committed May 5, 2022
1 parent 911b783 commit 3793f8b
Show file tree
Hide file tree
Showing 5 changed files with 379 additions and 256 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################
# Build image
############################################################
FROM golang:1.16-alpine as builder
FROM golang:1.18-alpine as builder
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates

WORKDIR /app
Expand Down
3 changes: 2 additions & 1 deletion e2e/message_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package e2e

import (
"fmt"
"github.com/ReneKroon/ttlcache/v2"
"strconv"
"time"

"github.com/jellydator/ttlcache/v2"

"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion e2e/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (s *Service) produceMessage(ctx context.Context, partition int) {
msg.state = EndToEndMessageStateProducedSuccessfully
msg.produceLatency = ackDuration.Seconds()

// TODO: Enable again as soon as https://github.com/ReneKroon/ttlcache/issues/60 is fixed
// TODO: Enable again as soon as https://github.com/jellydatora/ttlcache/issues/60 is fixed
// Because we cannot update cache items in an atomic fashion we currently can't use this method
// as this would cause a race condition which ends up in records being reported as lost/expired.
// s.messageTracker.updateItemIfExists(msg)
Expand Down
61 changes: 42 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,31 +1,54 @@
module github.com/cloudhut/kminion/v2

go 1.15
go 1.18

require (
github.com/ReneKroon/ttlcache/v2 v2.8.0
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.2.0
github.com/google/uuid v1.3.0
github.com/jcmturner/gokrb5/v8 v8.4.2
github.com/knadh/koanf v0.16.0
github.com/kr/text v0.2.0 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.4.1
github.com/orcaman/concurrent-map v0.0.0-20210501183033-44dafcb38ecc
github.com/pelletier/go-toml v1.9.1 // indirect
github.com/jellydator/ttlcache/v2 v2.11.1
github.com/knadh/koanf v1.4.1
github.com/mitchellh/mapstructure v1.5.0
github.com/orcaman/concurrent-map v1.0.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.10.0
github.com/prometheus/common v0.24.0 // indirect
github.com/prometheus/client_golang v1.12.1
github.com/stretchr/testify v1.7.0
github.com/twmb/franz-go v1.4.1
github.com/twmb/franz-go v1.5.1
github.com/twmb/franz-go/pkg/kmsg v1.0.0
go.uber.org/atomic v1.7.0
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.16.0
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.4.2 // indirect
github.com/twmb/franz-go/pkg/sasl/kerberos v1.0.0
go.uber.org/atomic v1.9.0
go.uber.org/zap v1.21.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/klauspost/compress v1.15.2 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.1 // indirect
github.com/pierrec/lz4/v4 v4.1.14 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.34.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/twmb/go-rbtree v1.0.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f // indirect
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
honnef.co/go/tools v0.1.4 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading

0 comments on commit 3793f8b

Please sign in to comment.