Skip to content

Commit 224bfe4

Browse files
fix(deps): natspubsub upgrade to 0.8.4 (#3040)
* build(deps): Bump github.com/pitabwire/natspubsub from 0.1.9 to 0.8.2 Bumps [github.com/pitabwire/natspubsub](https://github.com/pitabwire/natspubsub) from 0.1.9 to 0.8.2. - [Release notes](https://github.com/pitabwire/natspubsub/releases) - [Commits](pitabwire/natspubsub@v0.1.9...v0.8.2) --- updated-dependencies: - dependency-name: github.com/pitabwire/natspubsub dependency-version: 0.8.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(emitter): rename consumer_durable to consumer_durable_name for natspubsub 0.8.4 Signed-off-by: Gagan H R <hrgagan4@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Gagan H R <hrgagan4@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ecf0f63 commit 224bfe4

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ require (
177177
github.com/mattn/go-colorable v0.1.14 // indirect
178178
github.com/mattn/go-isatty v0.0.20 // indirect
179179
github.com/mattn/go-runewidth v0.0.19 // indirect
180-
github.com/minio/highwayhash v1.0.4-0.20251030100505-070ab1a87a76 // indirect
180+
github.com/minio/highwayhash v1.0.4 // indirect
181181
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
182182
github.com/moby/buildkit v0.28.1 // indirect
183183
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
@@ -305,8 +305,8 @@ require (
305305
github.com/lib/pq v1.12.3
306306
github.com/manifoldco/promptui v0.9.0
307307
github.com/mitchellh/go-homedir v1.1.0
308-
github.com/nats-io/nats-server/v2 v2.11.15
309-
github.com/nats-io/nats.go v1.49.0
308+
github.com/nats-io/nats-server/v2 v2.14.0
309+
github.com/nats-io/nats.go v1.52.0
310310
github.com/neo4j/neo4j-go-driver/v5 v5.28.4
311311
github.com/oapi-codegen/oapi-codegen/v2 v2.4.1
312312
github.com/oapi-codegen/runtime v1.1.1
@@ -315,7 +315,7 @@ require (
315315
github.com/ossf/scorecard/v5 v5.4.0
316316
github.com/package-url/packageurl-go v0.1.5
317317
github.com/pandatix/go-cvss v0.6.2
318-
github.com/pitabwire/natspubsub v0.1.9
318+
github.com/pitabwire/natspubsub v0.8.4
319319
github.com/pkg/errors v0.9.1
320320
github.com/prometheus/client_golang v1.23.2
321321
github.com/redis/go-redis/v9 v9.14.0
@@ -366,7 +366,7 @@ require (
366366
github.com/anchore/packageurl-go v0.1.1-0.20250220190351-d62adb6e1115 // indirect
367367
github.com/anchore/stereoscope v0.1.22 // indirect
368368
github.com/andybalholm/brotli v1.2.0 // indirect
369-
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op // indirect
369+
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op // indirect
370370
github.com/aws/aws-sdk-go-v2/service/signin v1.0.11 // indirect
371371
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
372372
github.com/becheran/wildmatch-go v1.0.0 // indirect

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ github.com/andybalholm/cascadia v1.3.3/go.mod h1:xNd9bqTn98Ln4DwST8/nG+H0yuB8Hmg
239239
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
240240
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
241241
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
242-
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op h1:kpBdlEPbRvff0mDD1gk7o9BhI16b9p5yYAXRlidpqJE=
243-
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op/go.mod h1:IUpT2DPAKh6i/YhSbt6Gl3v2yvUZjmKncl7U91fup7E=
242+
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op h1:Z/MZK75wC/NSrkgqeNIa7jexam9uWzhLmFTSCPI/kn0=
243+
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op/go.mod h1:FQyySiasQQM8735Ddel3MRojmy4dA1IqCeyJ5jmPMbI=
244244
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
245245
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
246246
github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
@@ -1048,8 +1048,8 @@ github.com/mikelolasagasti/xz v1.0.1 h1:Q2F2jX0RYJUG3+WsM+FJknv+6eVjsjXNDV0KJXZz
10481048
github.com/mikelolasagasti/xz v1.0.1/go.mod h1:muAirjiOUxPRXwm9HdDtB3uoRPrGnL85XHtokL9Hcgc=
10491049
github.com/minio/crc64nvme v1.1.1 h1:8dwx/Pz49suywbO+auHCBpCtlW1OfpcLN7wYgVR6wAI=
10501050
github.com/minio/crc64nvme v1.1.1/go.mod h1:eVfm2fAzLlxMdUGc0EEBGSMmPwmXD5XiNRpnu9J3bvg=
1051-
github.com/minio/highwayhash v1.0.4-0.20251030100505-070ab1a87a76 h1:KGuD/pM2JpL9FAYvBrnBBeENKZNh6eNtjqytV6TYjnk=
1052-
github.com/minio/highwayhash v1.0.4-0.20251030100505-070ab1a87a76/go.mod h1:GGYsuwP/fPD6Y9hMiXuapVvlIUEhFhMTh0rxU3ik1LQ=
1051+
github.com/minio/highwayhash v1.0.4 h1:asJizugGgchQod2ja9NJlGOWq4s7KsAWr5XUc9Clgl4=
1052+
github.com/minio/highwayhash v1.0.4/go.mod h1:GGYsuwP/fPD6Y9hMiXuapVvlIUEhFhMTh0rxU3ik1LQ=
10531053
github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34=
10541054
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
10551055
github.com/minio/minio-go/v7 v7.0.98 h1:MeAVKjLVz+XJ28zFcuYyImNSAh8Mq725uNW4beRisi0=
@@ -1112,10 +1112,10 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8m
11121112
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
11131113
github.com/nats-io/jwt/v2 v2.8.1 h1:V0xpGuD/N8Mi+fQNDynXohVvp7ZztevW5io8CUWlPmU=
11141114
github.com/nats-io/jwt/v2 v2.8.1/go.mod h1:nWnOEEiVMiKHQpnAy4eXlizVEtSfzacZ1Q43LIRavZg=
1115-
github.com/nats-io/nats-server/v2 v2.11.15 h1:StSf9TINInaZtr4oww2+kXmfwa9SkN//g/LwS19/UJ0=
1116-
github.com/nats-io/nats-server/v2 v2.11.15/go.mod h1:zwhv8Y0PE3KHyKgznJc/9Xoai638SaJd83zzJ5GJn74=
1117-
github.com/nats-io/nats.go v1.49.0 h1:yh/WvY59gXqYpgl33ZI+XoVPKyut/IcEaqtsiuTJpoE=
1118-
github.com/nats-io/nats.go v1.49.0/go.mod h1:fDCn3mN5cY8HooHwE2ukiLb4p4G4ImmzvXyJt+tGwdw=
1115+
github.com/nats-io/nats-server/v2 v2.14.0 h1:+8q0HrDFotwLLcGH/legOEOnowunhK+aZ4GYBIWpQlM=
1116+
github.com/nats-io/nats-server/v2 v2.14.0/go.mod h1:ImVUUDvfClJbb6cuJQRc1VmgDCXKM5ds0OoiG9MVOKo=
1117+
github.com/nats-io/nats.go v1.52.0 h1:n3avV4VBsCgsdwh71TppsTwtv+QdPs7ntSKM8qJLGsc=
1118+
github.com/nats-io/nats.go v1.52.0/go.mod h1:26HypzazeOkyO3/mqd1zZd53STJN0EjCYF9Uy2ZOBno=
11191119
github.com/nats-io/nkeys v0.4.15 h1:JACV5jRVO9V856KOapQ7x+EY8Jo3qw1vJt/9Jpwzkk4=
11201120
github.com/nats-io/nkeys v0.4.15/go.mod h1:CpMchTXC9fxA5zrMo4KpySxNjiDVvr8ANOSZdiNfUrs=
11211121
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
@@ -1219,8 +1219,8 @@ github.com/pingcap/kvproto v0.0.0-20230904082117-ecdbf1f8c130 h1:qbLm5cOdCWxZ0mt
12191219
github.com/pingcap/kvproto v0.0.0-20230904082117-ecdbf1f8c130/go.mod h1:r0q/CFcwvyeRhKtoqzmWMBebrtpIziQQ9vR+JKh1knc=
12201220
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 h1:HR/ylkkLmGdSSDaD8IDP+SZrdhV1Kibl9KrHxJ9eciw=
12211221
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4=
1222-
github.com/pitabwire/natspubsub v0.1.9 h1:0LTE+bQlOkhZ01dWSEGI4/ZnG5K8Gp5HH0TrsLbMOo0=
1223-
github.com/pitabwire/natspubsub v0.1.9/go.mod h1:IR+8xxMIpJgahPnJEZHAJ0Thei50TFradv2JA+fF8qQ=
1222+
github.com/pitabwire/natspubsub v0.8.4 h1:iXncMM/Fuvmyu3+VFDazOxKf5M3AWNQZdvLpM+NtKZ0=
1223+
github.com/pitabwire/natspubsub v0.8.4/go.mod h1:h2S81+ro+eB1NeWWDbhK4EkEN/A72o7hnrDXTUq67Js=
12241224
github.com/pjbgf/sha1cd v0.6.0 h1:3WJ8Wz8gvDz29quX1OcEmkAlUg9diU4GxJHqs0/XiwU=
12251225
github.com/pjbgf/sha1cd v0.6.0/go.mod h1:lhpGlyHLpQZoxMv8HcgXvZEhcGs0PG/vsZnEJ7H0iCM=
12261226
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=

pkg/emitter/emitter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func buildTopicURL(serviceURL string) string {
7171
// If using NATS, additional parameters are needed for jetstream
7272
func buildSubscriptionURL(serviceURL string) string {
7373
if strings.HasPrefix(serviceURL, "nats://") {
74-
return fmt.Sprintf("%s?%s&subject=%s&consumer_durable=%s&stream_name=%s&stream_subjects=%s", serviceURL, "jetstream", subjectNameDocCollected, durableProcessor, streamName, streamSubjects)
74+
return fmt.Sprintf("%s?%s&subject=%s&consumer_durable_name=%s&stream_name=%s&stream_subjects=%s", serviceURL, "jetstream", subjectNameDocCollected, durableProcessor, streamName, streamSubjects)
7575
} else {
7676
return serviceURL
7777
}

0 commit comments

Comments
 (0)