https://github.com/abhirockzz/nats-hello-world-docker
NATS pub sub example with Go and Java client (using Docker Compose)
https://github.com/abhirockzz/nats-hello-world-docker
docker docker-compose golang java nats-messaging nats-server natsio
Last synced: 2 months ago
JSON representation
NATS pub sub example with Go and Java client (using Docker Compose)
- Host: GitHub
- URL: https://github.com/abhirockzz/nats-hello-world-docker
- Owner: abhirockzz
- Created: 2018-03-23T18:30:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T14:10:42.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T00:24:58.254Z (3 months ago)
- Topics: docker, docker-compose, golang, java, nats-messaging, nats-server, natsio
- Language: Java
- Homepage: https://simplydistributed.wordpress.com/2018/03/24/nats-quick-start-with-docker
- Size: 63.5 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Start by...
- `git clone https://github.com/abhirockzz/nats-hello-world-docker.git`
- `cd nats-hello-world-docker/java-publisher`
- `mvn clean install`
- `cd ..`## To run
`docker-compose build --no-cache` //build containers
Give it a few seconds

`docker-compose up` //start containers
## check
### check NATS console
`http://:8222`

`http://:8222/connz`

### check `docker-compose` logs
Pub and sub... the usual stuff

## .. clean up using
`docker-compose down`