refactor tests && fix concurent read from map

This commit is contained in:
Evstigneev Denis
2026-01-14 14:38:12 +03:00
parent c8eeb34efe
commit f8d9e0584f
5 changed files with 109 additions and 142 deletions

11
go.mod
View File

@@ -2,13 +2,12 @@ module go.unistack.org/micro-broker-kgo/v3
go 1.24.0
toolchain go1.24.3
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.11.1
github.com/twmb/franz-go v1.20.2
github.com/twmb/franz-go v1.20.4
github.com/twmb/franz-go/pkg/kadm v1.17.1
github.com/twmb/franz-go/pkg/kfake v0.0.0-20251227070528-0c71f7e25fa1
github.com/twmb/franz-go/pkg/kmsg v1.12.0
go.opentelemetry.io/otel v1.38.0
go.unistack.org/micro/v3 v3.11.48
@@ -23,10 +22,10 @@ require (
github.com/pierrec/lz4/v4 v4.1.22 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
go.unistack.org/micro-proto/v3 v3.4.1 // indirect
golang.org/x/crypto v0.43.0 // indirect
golang.org/x/sys v0.37.0 // indirect
golang.org/x/crypto v0.47.0 // indirect
golang.org/x/sys v0.40.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8 // indirect
google.golang.org/grpc v1.76.0 // indirect
google.golang.org/protobuf v1.36.10 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)