Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Example docker setup to run a nats server, a nats-go listener, and a nats-go requester

Notifications You must be signed in to change notification settings

shadiakiki1986/example-nats-go-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-nats-go-docker

Example docker setup to run a nats server, a nats-go listener, and a nats-go requester

Usage

  1. run nats server and listener: docker-compose up
  2. Verify subscriptions=1 at: http://localhost:8222/subsz
  3. test with sample publisher
apt-get install golang # https://wiki.ubuntu.com/Go
export GOPATH=`pwd`
go get github.com/nats-io/go-nats
go run publish.go

Related

example-nats-cli-docker-compose

References

Here are links that helped me

About

Example docker setup to run a nats server, a nats-go listener, and a nats-go requester

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages