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

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
Ref: https://docs.nats.io/nats-server/clients
 
Ref: https://docs.nats.io/nats-server/clients
  
 +
 +
[[nats publish]]
  
 
== See also ==
 
== See also ==
 
* {{MQ}}
 
* {{MQ}}

Revision as of 09:29, 22 February 2023

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_message

Ref: https://docs.nats.io/nats-server/clients


nats publish

See also

Advertising: