Difference between revisions of "Nats subscribe"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
10:44:24 Subscribing on NotRealSubject | 10:44:24 Subscribing on NotRealSubject | ||
− | nats sub -s "nats://127.0.0.1:4222" | + | nats sub -s "nats://127.0.0.1:4222" helloChannel & |
− | nats pub -s "nats://127.0.0.1:4222" | + | nats pub -s "nats://127.0.0.1:4222" helloChannel world_4222 |
[[nats pub]] | [[nats pub]] |
Revision as of 06:07, 8 March 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" helloChannel & nats pub -s "nats://127.0.0.1:4222" helloChannel world_4222
nats pub
nats subscribe --help
nats: error: nats: no servers available for connection
See also
Advertising: