Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/romalev/consul-cluster-manager-utilizer

Simple vert.x project [two microservices] that utilizes consul cluster manager.
https://github.com/romalev/consul-cluster-manager-utilizer

clustering docker microservices vertx workshop

Last synced: 9 days ago
JSON representation

Simple vert.x project [two microservices] that utilizes consul cluster manager.

Awesome Lists containing this project

README

        

# Consul cluster manager utilizer #

**Introduction**
-
This is a simple project intended to show how to use [consul - based cluster manager](https://github.com/reactiverse/consul-cluster-manager) in the vert.x ecosystem. Given project contains two services:

- **api-gateway**: exposes unsecured rest api (to be documented here) and talks to **phone-dictionary-service** by using event-bus.
- **phone-dictionary-service**: utilizes event-bus to accept incoming messages from **api-gateway** and handle them apppropriately.

**How to use**
-
**api-gateway** and **phone-dictionary-service** contain two shell scripts:
- ```./docker-rebuild-service.sh``` - to (re) build the docker image of the service.
- ```./docker-restart-service.sh``` - to (re) start the docker image of the service.

Execute ```./docker-run-dev-consul.sh``` to boot **consul agent** (in dev mode).