Amdatu Etcd
Project Info
What | Where |
---|---|
Source code | https://bitbucket.org/amdatulabs/amdatu-etcd |
Introduction
A collection of services and utilities on top of and Etcd backend.
Configurator
Monitors and provisions configuration stored in Etcd to ConfigAdmin.
- Monitors the entries in a configurable directory in Etcd.
- The name of an entry is the PID of the component to configure.
- For factory configurations, the key is appended with "-somename".
PID: com.amdatu.rti.configurator
- etcdEndpoints: ETCD endpoint(s) (default: "http://127.0.0.1:2379/v2")
- basePath: base path to monitor (default: "/org.amdatu.etcd/configurator")
Locking/Election
Provides leader election
PID: com.amdatu.rti.locking.election
- etcdEndpoints: ETCD endpoint(s) (default: "http://127.0.0.1:2379/v2")
- basePath: base path to monitor (default: "/org.amdatu.etcd/locking/election")
- topicTTL: topic TTL in second (default: 300)
- leaderTTL: leader TTL in second (default: 30)
- candidateTTL: candidate TTL in second (default: 60)
- retryDelay: delay in seconds before retrying after etcd operation fails (default: 1)
- updateMargin: margin in seconds for TTL updates (default: 2)
- logDebug: enable fine-grained debug logging (default: false)