Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/romalev/consul-cluster-manager-utilizer
- Owner: romalev
- License: unlicense
- Created: 2018-12-12T20:23:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T10:47:07.000Z (almost 6 years ago)
- Last Synced: 2024-11-13T12:28:52.158Z (2 months ago)
- Topics: clustering, docker, microservices, vertx, workshop
- Language: Java
- Homepage:
- Size: 76.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).