Skip to content

TechPrimers/nats-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NATS Example using JNats

Start Nats Server using Docker

  • Start Nats Server using Docker
    docker run --name nats --rm -p 4222:4222 nats
    
  • Connecting to NATS Server
    telnet localhost 4222
    
  • Publishing a message to subject com.techprimers:
    PUB com.techprimers 5
    hello
    

Releases

No releases published

Packages

No packages published

Languages