Skip to content

Commit

Permalink
Merge pull request #550 from nokia/nats-empty-msg
Browse files Browse the repository at this point in the history
fix NATS output handling of empty messages
  • Loading branch information
karimra authored Nov 7, 2024
2 parents 82110de + bda902b commit fdb3b70
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 98 deletions.
60 changes: 30 additions & 30 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ go 1.21.1

toolchain go1.21.9

replace github.com/openconfig/gnmic/pkg/api v0.1.7 => ./pkg/api
replace github.com/openconfig/gnmic/pkg/api v0.1.8 => ./pkg/api

replace github.com/openconfig/gnmic/pkg/cache v0.1.3 => ./pkg/cache

require (
github.com/IBM/sarama v1.43.1
github.com/adrg/xdg v0.4.0
github.com/IBM/sarama v1.43.3
github.com/adrg/xdg v0.5.3
github.com/c-bata/go-prompt v0.2.6
github.com/docker/docker v26.1.5+incompatible
github.com/fsnotify/fsnotify v1.7.0
Expand All @@ -21,35 +21,35 @@ require (
github.com/google/uuid v1.6.0
github.com/gorilla/handlers v1.5.2
github.com/gorilla/mux v1.8.1
github.com/gosnmp/gosnmp v1.37.0
github.com/gosnmp/gosnmp v1.38.0
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/guptarohit/asciigraph v0.7.1
github.com/hairyhenderson/gomplate/v3 v3.11.7
github.com/hashicorp/consul/api v1.28.2
github.com/hashicorp/go-plugin v1.4.9
github.com/guptarohit/asciigraph v0.7.3
github.com/hairyhenderson/gomplate/v3 v3.11.8
github.com/hashicorp/consul/api v1.30.0
github.com/hashicorp/go-plugin v1.6.2
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/huandu/xstrings v1.4.0
github.com/huandu/xstrings v1.5.0
github.com/influxdata/influxdb-client-go/v2 v2.13.0
github.com/itchyny/gojq v0.12.14
github.com/jellydator/ttlcache/v3 v3.2.0
github.com/jellydator/ttlcache/v3 v3.3.0
github.com/jhump/protoreflect v1.16.0
github.com/jlaffaye/ftp v0.2.0
github.com/karimra/go-map-flattener v0.0.1
github.com/karimra/sros-dialout v0.0.0-20200518085040-c759bf74063a
github.com/manifoldco/promptui v0.9.0
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/nats-io/nats.go v1.34.1
github.com/nats-io/nats.go v1.37.0
github.com/nats-io/stan.go v0.10.4
github.com/nsf/termbox-go v1.1.1
github.com/olekukonko/tablewriter v0.0.5
github.com/openconfig/gnmi v0.11.0
github.com/openconfig/gnmic/pkg/api v0.1.7
github.com/openconfig/gnmic/pkg/api v0.1.8
github.com/openconfig/gnmic/pkg/cache v0.1.3
github.com/openconfig/goyang v1.5.0
github.com/openconfig/goyang v1.6.0
github.com/openconfig/ygot v0.29.18
github.com/pkg/sftp v1.13.6
github.com/prometheus/client_golang v1.19.0
github.com/pkg/sftp v1.13.7
github.com/prometheus/client_golang v1.20.5
github.com/prometheus/client_model v0.6.1
github.com/prometheus/prometheus v0.51.2
github.com/redis/go-redis/v9 v9.5.1
Expand All @@ -58,11 +58,11 @@ require (
github.com/spf13/viper v1.18.2
github.com/xdg/scram v1.0.5
go.starlark.net v0.0.0-20231121155337-90ade8b19d09
golang.org/x/crypto v0.22.0
golang.org/x/oauth2 v0.19.0
golang.org/x/sync v0.7.0
golang.org/x/crypto v0.26.0
golang.org/x/oauth2 v0.21.0
golang.org/x/sync v0.8.0
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.33.1-0.20240408130810-98873a205002
google.golang.org/protobuf v1.34.2
gopkg.in/natefinch/lumberjack.v2 v2.2.1
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.29.2
Expand Down Expand Up @@ -158,9 +158,9 @@ require (
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
golang.org/x/mod v0.16.0 // indirect
golang.org/x/term v0.19.0 // indirect
golang.org/x/tools v0.19.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand Down Expand Up @@ -200,7 +200,7 @@ require (
github.com/docker/go-units v0.5.0 // indirect
github.com/docker/libkv v0.2.2-0.20180912205406-458977154600 // indirect
github.com/dustin/gojson v0.0.0-20160307161227-2e71ec9dd5ad // indirect
github.com/eapache/go-resiliency v1.6.0 // indirect
github.com/eapache/go-resiliency v1.7.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
Expand Down Expand Up @@ -241,7 +241,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/joho/godotenv v1.4.0 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -258,8 +258,8 @@ require (
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pkg/term v1.2.0-beta.2 // indirect
github.com/prometheus/common v0.53.0
github.com/prometheus/procfs v0.14.0 // indirect
github.com/prometheus/common v0.55.0
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/rs/zerolog v1.29.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
Expand All @@ -270,14 +270,14 @@ require (
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xdg/stringprep v1.0.0 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.etcd.io/bbolt v1.3.10 // indirect
go.opencensus.io v0.24.0 // indirect
go4.org/intern v0.0.0-20230205224052-192e9f60865c // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
gocloud.dev v0.25.1-0.20220408200107-09b10f7359f7 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.17.0
golang.org/x/time v0.5.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/api v0.169.0 // indirect
Expand Down
Loading

0 comments on commit fdb3b70

Please sign in to comment.