Skip to content

Commit b2c31ce

Browse files
authored
Add baggage header support to http binding (#3723)
Signed-off-by: Cassandra Coyle <[email protected]>
1 parent 31a2088 commit b2c31ce

File tree

8 files changed

+42
-30
lines changed

8 files changed

+42
-30
lines changed

bindings/http/http.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const (
4444

4545
TraceparentHeaderKey = "traceparent"
4646
TracestateHeaderKey = "tracestate"
47+
BaggageHeaderKey = "baggage"
4748
TraceMetadataKey = "traceHeaders"
4849
securityToken = "securityToken"
4950
securityTokenHeader = "securityTokenHeader"
@@ -318,6 +319,13 @@ func (h *HTTPSource) Invoke(parentCtx context.Context, req *bindings.InvokeReque
318319

319320
request.Header.Set(TracestateHeaderKey, ts)
320321
}
322+
if baggage, ok := req.Metadata[BaggageHeaderKey]; ok && baggage != "" {
323+
if _, ok := request.Header[http.CanonicalHeaderKey(BaggageHeaderKey)]; ok {
324+
h.logger.Warn("Tracing is enabled. A custom Baggage request header cannot be specified and is ignored.")
325+
}
326+
327+
request.Header.Set(BaggageHeaderKey, baggage)
328+
}
321329

322330
// Send the question
323331
resp, err := h.client.Do(request)

bindings/http/http_test.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ func TestTraceHeadersForwarded(t *testing.T) {
473473
req := TestCase{
474474
input: "GET",
475475
operation: "get",
476-
metadata: map[string]string{"path": "/", "traceparent": "12345", "tracestate": "67890"},
476+
metadata: map[string]string{"path": "/", "traceparent": "12345", "tracestate": "67890", "baggage": "key1=value1"},
477477
path: "/",
478478
err: "",
479479
statusCode: 200,
@@ -482,13 +482,14 @@ func TestTraceHeadersForwarded(t *testing.T) {
482482
require.NoError(t, err)
483483
assert.Equal(t, "12345", handler.Headers["Traceparent"])
484484
assert.Equal(t, "67890", handler.Headers["Tracestate"])
485+
assert.Equal(t, "key1=value1", handler.Headers["Baggage"])
485486
})
486487

487488
t.Run("trace headers should not be forwarded if empty", func(t *testing.T) {
488489
req := TestCase{
489490
input: "GET",
490491
operation: "get",
491-
metadata: map[string]string{"path": "/", "traceparent": "", "tracestate": ""},
492+
metadata: map[string]string{"path": "/", "traceparent": "", "tracestate": "", "baggage": ""},
492493
path: "/",
493494
err: "",
494495
statusCode: 200,
@@ -499,13 +500,15 @@ func TestTraceHeadersForwarded(t *testing.T) {
499500
assert.False(t, traceParentExists)
500501
_, traceStateExists := handler.Headers["Tracestate"]
501502
assert.False(t, traceStateExists)
503+
_, baggageExists := handler.Headers["Baggage"]
504+
assert.False(t, baggageExists)
502505
})
503506

504507
t.Run("trace headers override headers in request metadata", func(t *testing.T) {
505508
req := TestCase{
506509
input: "GET",
507510
operation: "get",
508-
metadata: map[string]string{"path": "/", "Traceparent": "abcde", "Tracestate": "fghijk", "traceparent": "12345", "tracestate": "67890"},
511+
metadata: map[string]string{"path": "/", "Traceparent": "abcde", "Tracestate": "fghijk", "Baggage": "oldvalue", "traceparent": "12345", "tracestate": "67890", "baggage": "key1=value1"},
509512
path: "/",
510513
err: "",
511514
statusCode: 200,
@@ -514,6 +517,7 @@ func TestTraceHeadersForwarded(t *testing.T) {
514517
require.NoError(t, err)
515518
assert.Equal(t, "12345", handler.Headers["Traceparent"])
516519
assert.Equal(t, "67890", handler.Headers["Tracestate"])
520+
assert.Equal(t, "key1=value1", handler.Headers["Baggage"])
517521
})
518522
}
519523

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ require (
7373
github.com/googleapis/gax-go/v2 v2.12.4
7474
github.com/gorilla/mux v1.8.1
7575
github.com/grandcat/zeroconf v1.0.0
76-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9
76+
github.com/hamba/avro/v2 v2.28.0
7777
github.com/hashicorp/consul/api v1.25.1
7878
github.com/hashicorp/golang-lru/v2 v2.0.7
7979
github.com/hazelcast/hazelcast-go-client v0.0.0-20190530123621-6cf767c2f31a
@@ -126,7 +126,7 @@ require (
126126
go.uber.org/multierr v1.11.0
127127
go.uber.org/ratelimit v0.3.0
128128
golang.org/x/crypto v0.35.0
129-
golang.org/x/mod v0.18.0
129+
golang.org/x/mod v0.23.0
130130
golang.org/x/net v0.36.0
131131
golang.org/x/oauth2 v0.27.0
132132
google.golang.org/api v0.180.0
@@ -304,7 +304,7 @@ require (
304304
github.com/kataras/go-errors v0.0.3 // indirect
305305
github.com/kataras/go-serializer v0.0.4 // indirect
306306
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
307-
github.com/klauspost/compress v1.17.9 // indirect
307+
github.com/klauspost/compress v1.17.11 // indirect
308308
github.com/knadh/koanf v1.4.1 // indirect
309309
github.com/kr/fs v0.1.0 // indirect
310310
github.com/kubemq-io/protobuf v1.3.1 // indirect
@@ -404,7 +404,7 @@ require (
404404
golang.org/x/term v0.29.0 // indirect
405405
golang.org/x/text v0.22.0 // indirect
406406
golang.org/x/time v0.6.0 // indirect
407-
golang.org/x/tools v0.22.0 // indirect
407+
golang.org/x/tools v0.30.0 // indirect
408408
google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda // indirect
409409
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
410410
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8
901901
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0=
902902
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8=
903903
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4=
904-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9 h1:NEoabXt33PDWK4fXryK4e+XX+fSKDmmu9vg3yb9YI2M=
905-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9/go.mod h1:fQVdB2mFZBhPW1D5Abej41LMvrErARGrrdjOnKbm5yw=
904+
github.com/hamba/avro/v2 v2.28.0 h1:E8J5D27biyAulWKNiEBhV85QPc9xRMCUCGJewS0KYCE=
905+
github.com/hamba/avro/v2 v2.28.0/go.mod h1:9TVrlt1cG1kkTUtm9u2eO5Qb7rZXlYzoKqPt8TSH+TA=
906906
github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
907907
github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
908908
github.com/hashicorp/consul/api v1.25.1 h1:CqrdhYzc8XZuPnhIYZWH45toM0LB9ZeYr/gvpLVI3PE=
@@ -1093,8 +1093,8 @@ github.com/kitex-contrib/obs-opentelemetry/logging/logrus v0.0.0-20220601144657-
10931093
github.com/kitex-contrib/tracer-opentracing v0.0.2/go.mod h1:mprt5pxqywFQxlHb7ugfiMdKbABTLI9YrBYs9WmlK5Q=
10941094
github.com/klauspost/compress v1.10.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
10951095
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
1096-
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
1097-
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
1096+
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
1097+
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
10981098
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
10991099
github.com/klauspost/cpuid/v2 v2.1.0/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
11001100
github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
@@ -1919,8 +1919,8 @@ golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
19191919
golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
19201920
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
19211921
golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
1922-
golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
1923-
golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
1922+
golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM=
1923+
golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
19241924
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
19251925
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
19261926
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -2258,8 +2258,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
22582258
golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ=
22592259
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
22602260
golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s=
2261-
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
2262-
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
2261+
golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY=
2262+
golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY=
22632263
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
22642264
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
22652265
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

tests/certification/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ require (
182182
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
183183
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
184184
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
185-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9 // indirect
185+
github.com/hamba/avro/v2 v2.28.0 // indirect
186186
github.com/hashicorp/consul/api v1.25.1 // indirect
187187
github.com/hashicorp/errwrap v1.1.0 // indirect
188188
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -210,7 +210,7 @@ require (
210210
github.com/josharian/intern v1.0.0 // indirect
211211
github.com/json-iterator/go v1.1.12 // indirect
212212
github.com/k0kubun/pp v3.0.1+incompatible // indirect
213-
github.com/klauspost/compress v1.17.10 // indirect
213+
github.com/klauspost/compress v1.17.11 // indirect
214214
github.com/knadh/koanf v1.4.1 // indirect
215215
github.com/kylelemons/godebug v1.1.0 // indirect
216216
github.com/leodido/go-urn v1.2.1 // indirect
@@ -312,15 +312,15 @@ require (
312312
golang.org/x/arch v0.10.0 // indirect
313313
golang.org/x/crypto v0.35.0 // indirect
314314
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d // indirect
315-
golang.org/x/mod v0.22.0 // indirect
315+
golang.org/x/mod v0.23.0 // indirect
316316
golang.org/x/net v0.36.0 // indirect
317317
golang.org/x/oauth2 v0.27.0 // indirect
318318
golang.org/x/sync v0.11.0 // indirect
319319
golang.org/x/sys v0.30.0 // indirect
320320
golang.org/x/term v0.29.0 // indirect
321321
golang.org/x/text v0.22.0 // indirect
322322
golang.org/x/time v0.6.0 // indirect
323-
golang.org/x/tools v0.28.0 // indirect
323+
golang.org/x/tools v0.30.0 // indirect
324324
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
325325
google.golang.org/api v0.196.0 // indirect
326326
google.golang.org/genproto v0.0.0-20240924160255-9d4c2d233b61 // indirect

tests/certification/go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,8 @@ github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8
783783
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0=
784784
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8=
785785
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4=
786-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9 h1:NEoabXt33PDWK4fXryK4e+XX+fSKDmmu9vg3yb9YI2M=
787-
github.com/hamba/avro/v2 v2.22.2-0.20240625062549-66aad10411d9/go.mod h1:fQVdB2mFZBhPW1D5Abej41LMvrErARGrrdjOnKbm5yw=
786+
github.com/hamba/avro/v2 v2.28.0 h1:E8J5D27biyAulWKNiEBhV85QPc9xRMCUCGJewS0KYCE=
787+
github.com/hamba/avro/v2 v2.28.0/go.mod h1:9TVrlt1cG1kkTUtm9u2eO5Qb7rZXlYzoKqPt8TSH+TA=
788788
github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
789789
github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
790790
github.com/hashicorp/consul/api v1.25.1 h1:CqrdhYzc8XZuPnhIYZWH45toM0LB9ZeYr/gvpLVI3PE=
@@ -951,8 +951,8 @@ github.com/kitex-contrib/monitor-prometheus v0.0.0-20210817080809-024dd7bd51e1/g
951951
github.com/kitex-contrib/obs-opentelemetry v0.0.0-20220601144657-c60210e3c928/go.mod h1:VvMzPMfgL7iUG92eVZGuRybGVMKzuSrsfMvHHpL7/Ac=
952952
github.com/kitex-contrib/obs-opentelemetry/logging/logrus v0.0.0-20220601144657-c60210e3c928/go.mod h1:Eml/0Z+CqgGIPf9JXzLGu+N9NJoy2x5pqypN+hmKArE=
953953
github.com/kitex-contrib/tracer-opentracing v0.0.2/go.mod h1:mprt5pxqywFQxlHb7ugfiMdKbABTLI9YrBYs9WmlK5Q=
954-
github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0=
955-
github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
954+
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
955+
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
956956
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
957957
github.com/klauspost/cpuid/v2 v2.1.0/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
958958
github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
@@ -1633,8 +1633,8 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
16331633
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
16341634
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
16351635
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
1636-
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
1637-
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
1636+
golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM=
1637+
golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
16381638
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
16391639
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
16401640
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -1922,8 +1922,8 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
19221922
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
19231923
golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
19241924
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
1925-
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
1926-
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
1925+
golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY=
1926+
golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY=
19271927
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
19281928
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
19291929
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

tests/e2e/pubsub/jetstream/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/golang/protobuf v1.5.4 // indirect
1616
github.com/google/uuid v1.6.0 // indirect
1717
github.com/json-iterator/go v1.1.12 // indirect
18-
github.com/klauspost/compress v1.17.9 // indirect
18+
github.com/klauspost/compress v1.17.11 // indirect
1919
github.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4 // indirect
2020
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2121
github.com/modern-go/reflect2 v1.0.2 // indirect

tests/e2e/pubsub/jetstream/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr
2727
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
2828
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
2929
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
30-
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
31-
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
30+
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
31+
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
3232
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
3333
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
3434
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

0 commit comments

Comments
 (0)