Difference between revisions of "Nats subscribe"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
nats subscribe NotRealSubject | nats subscribe NotRealSubject | ||
10:44:24 Subscribing on NotRealSubject | 10:44:24 Subscribing on NotRealSubject | ||
+ | |||
+ | nats sub -s "nats://127.0.0.1:4222" hello & | ||
+ | nats pub -s "nats://127.0.0.1:4222" hello world_4222 | ||
[[nats pub]] | [[nats pub]] |
Revision as of 14:56, 27 February 2023
nats subscribe test 10:43:42 Subscribing on test
nats subscribe NotRealSubject 10:44:24 Subscribing on NotRealSubject
nats sub -s "nats://127.0.0.1:4222" hello & nats pub -s "nats://127.0.0.1:4222" hello world_4222
nats pub
nats subscribe --help
nats: error: nats: no servers available for connection
See also
Advertising: