hseeberger / constructr

Coordinated (etcd, ...) cluster construction for dynamic (cloud, containers) environments
Apache License 2.0
212 stars 37 forks source link

Fixed path of cluster nodes in EtcdCoordination #154

Closed matsluni closed 7 years ago

matsluni commented 7 years ago

Hi Heiko,

currently the path for the cluster and the nodes is fixed, see: private val baseUri = kvUri.withPath(kvUri.path / "constructr" / clusterName) .

Do you think a configurable/custom path would be useful addition?

BR, Matthias

hseeberger commented 7 years ago

Thanks, but not at this moment ... I'm planning for some breaking changes anyway including etcd3 support where there's no more HTTP API.

matsluni commented 7 years ago

Ok, look forward to your changes. One question on the etcd3 changes: Isn't there some (fixed) path where you need to store the information where to find the nodes for each cluster?

hseeberger commented 7 years ago

etcd3 has no REST API but uses gRCP instead. The key space is a flat binary one.