Skip missed etcd keys
We are using etcd for storing configuration parameters for different services and usually, in service files, we have lines like that
-e CONFIGO_SOURCE_30='{\"type\": \"etcd\", \"endpoints\": [\"http://${COREOS_PRIVATE_IPV4}:2379\"], \"prefix\": \"applications/worker-defaults/\"}' \
-e CONFIGO_SOURCE_40='{\"type\": \"etcd\", \"endpoints\": [\"http://${COREOS_PRIVATE_IPV4}:2379\"], \"prefix\": \"applications/worker/%i\"}' \
So most of these workers are fine with default parameters and we don't need to customize these settings, but we have to create empty dir /application/worker/something and that is really annoying.
Is it possible to add one more configuration parameter like 'skipOnMissed' or something like that for nicer configuration?
Hi @abashev,
Sure! May I ask you to send the error it prints when the dir doesn't exist?
Something like
Jun 23 11:35:48 cloud-2-worker-01 sh[124630]: 11:35:48.335 [E] Failed to resolve source: 100: Key not found (/applications/backend-worker/BoostDislike) [336227953]
@abashev ACK :) Will fix it soon, thanks for reporting!