Difference between revisions of "Nats-server"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
[[nats sub]] -s "nats://127.0.0.1:4222" hello & | [[nats sub]] -s "nats://127.0.0.1:4222" hello & | ||
[[nats pub]] -s "nats://127.0.0.1:4222" hello world_4222 | [[nats pub]] -s "nats://127.0.0.1:4222" hello world_4222 | ||
+ | |||
+ | |||
+ | [[brew services restart nats-server]] | ||
== See also == | == See also == |
Revision as of 14:51, 22 February 2023
-cluster -routes
nats-server --help brew install nats-server brew services restart nats-server
nats-server -config ./seed.conf -D
Test server
nats sub -s "nats://127.0.0.1:4222" hello & nats pub -s "nats://127.0.0.1:4222" hello world_4222
brew services restart nats-server
See also
nats [ pub | subscribe | server | stream | reply | account | events | errors | consumer | --version | --help ]
nats-server, nats-server.conf, nats-server --help
- NATS Messaging, installation, Install NATS using docker,
nats server check, nats-server.conf, nats.ws,
4222, Synadia, Synadia Cloud, NATS JetStream, Terraform provider, Leaf Nodes
Advertising: