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
- Host: GitHub
- URL: https://github.com/freifeldroyi/captain
- Owner: FreifeldRoyi
- License: apache-2.0
- Created: 2017-09-06T08:22:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T16:31:07.000Z (about 4 years ago)
- Last Synced: 2025-02-14T10:39:35.550Z (about 1 year ago)
- Topics: javaee, service-discovery
- Language: Java
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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