Skip to content

Commit

Permalink
feat: Add NATS Subject for autoprovisioning streams (#4165)
Browse files Browse the repository at this point in the history
Also latest go-mod-messaging brought in more NATS dependencies

Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
  • Loading branch information
Lenny Goodell authored Sep 22, 2022
1 parent a394857 commit cf21bfd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Attribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,12 @@ https://github.com/microsoft/go-winio/blob/master/LICENSE

golang.org/x/sync (Unspecified) https://cs.opensource.google/go/x/sync
https://cs.opensource.google/go/x/sync/+/master:LICENSE

github.com/nats-io/nats.go (Apache-2.0) https://github.com/nats-io/nats.go
https://github.com/nats-io/nats.go/blob/main/LICENSE

github.com/nats-io/nkeys (Apache-2.0) https://github.com/nats-io/nkeys
https://github.com/nats-io/nkeys/blob/master/LICENSE

github.com/nats-io/nuid (Apache-2.0) https://github.com/nats-io/nuid
https://github.com/nats-io/nuid/blob/master/LICENSE
1 change: 1 addition & 0 deletions cmd/core-command/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Type = "consul"
AutoProvision = "true"
Deliver = "new"
DefaultPubRetryAttempts = "2"
Subject = "edgex/#" # Required for NATS Jetstram only for stream autoprovsioning
[MessageQueue.External]
Url = "tcp://localhost:1883"
ClientId = "core-command"
Expand Down
1 change: 1 addition & 0 deletions cmd/core-data/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ SubscribeTopic = "edgex/events/device/#" # required for subscribing to Events f
AutoProvision = "true"
Deliver = "new"
DefaultPubRetryAttempts = "2"
Subject = "edgex/#" # Required for NATS Jetstram only for stream autoprovsioning

[SecretStore]
Type = "vault"
Expand Down
1 change: 1 addition & 0 deletions cmd/core-metadata/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ SecretName = "redisdb"
AutoProvision = "true"
Deliver = "new"
DefaultPubRetryAttempts = "2"
Subject = "edgex/#" # Required for NATS Jetstram only for stream autoprovsioning

[SecretStore]
Type = "vault"
Expand Down

0 comments on commit cf21bfd

Please sign in to comment.