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

https://github.com/freifeldroyi/captain

Simple discovery service
https://github.com/freifeldroyi/captain

javaee service-discovery

Last synced: 12 months ago
JSON representation

Simple discovery service

Awesome Lists containing this project

README

          

# Captain
Service Discovery

## Getting started

....

## Config

##### Environment variables
In order to start this service, one must provide the following environment variables:
> Note the formatting for each var
* **ZOOKEEPER_ADDRESS** - `:,:...` - A list (separated by a comma) of zookeeper nodes
* **ZOOKEEPER_CONNECTION_RETRY_MS** - `milliseconds` - An integer representing the milliseconds between each connection retry
* **DISCOVERY_SERVICE_NAME** - `string` - A string representing the name of this service (The ServiceDiscovery service)
* **HEARTBEAT_THRESHOLD** - `milliseconds` - An integer representing the amount of milliseconds that a service is considered alive