Difference between revisions of "NATS: Send your first message"

From wikieduonline
Jump to navigation Jump to search
(Created page with " nats-server : go get github.com/nats-io/go-nats-examples/tools/nats-pub : go get github.com/nats-io/go-nats-examples/tools/nats-sub : nats-sub ">" : nats-pub MY_SUBJECT my_me...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
  nats-server
 
  nats-server
: go get github.com/nats-io/go-nats-examples/tools/nats-pub
+
go get github.com/nats-io/go-nats-examples/tools/nats-pub
: go get github.com/nats-io/go-nats-examples/tools/nats-sub
+
go get github.com/nats-io/go-nats-examples/tools/nats-sub
: nats-sub ">"
+
nats-sub ">"
: nats-pub MY_SUBJECT my_message
+
nats-pub MY_SUBJECT my_message
 
Ref: https://docs.nats.io/nats-server/clients
 
Ref: https://docs.nats.io/nats-server/clients
  
 +
== Related ==
 +
* <code>[[nats publish]]</code>
  
 
== See also ==
 
== See also ==
 
* {{MQ}}
 
* {{MQ}}
 +
* {{nats}}
 +
* {{NATS}}
 +
 +
[[Category:NATS]]

Latest revision as of 13:04, 22 February 2023

Advertising: