Amdatu Etcd

Project Info

Introduction

A collection of services and utilities on top of and Etcd backend.

Configurator

Monitors and provisions configuration stored in Etcd to ConfigAdmin.

  1. Monitors the entries in a configurable directory in Etcd.
  2. The name of an entry is the PID of the component to configure.
  3. For factory configurations, the key is appended with "-somename".

PID: com.amdatu.rti.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)