abhirockzz / nats-hello-world-docker

NATS pub sub example with Go and Java client (using Docker Compose)

Home Page:https://simplydistributed.wordpress.com/2018/03/24/nats-quick-start-with-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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://<docker_host_ip>:8222

http://<docker_host_ip>:8222/connz

check docker-compose logs

Pub and sub... the usual stuff

.. clean up using

docker-compose down

About

NATS pub sub example with Go and Java client (using Docker Compose)

https://simplydistributed.wordpress.com/2018/03/24/nats-quick-start-with-docker


Languages

Language:Java 63.0%Language:Go 37.0%