hseeberger/constructr

Support for etcd 3

hseeberger opened this issue · 5 comments

Support for etcd 3

etcd3 should be straitght forward to implement. I used the grpc api on my own adapter: https://github.com/Chumper/etcd3-scala
It is far from perfect, I use it to learn scala along the way but I hope you can use it as inspiration for an etcd3 version.

I can also try to create an etcd3 version as plugin if you want.

Thanks, but I'm already on it, thereby changing some semantics of ConstructR ;-)

Yeah, afterwards I saw your etcd3 branch that you recently started. Good work btw.

yi719 commented

Hi, are there any plans on releasing Support for etcd 3 ?

lutzh commented

I set up a little test system with constructr and unaware of etcd3 support being w.i.p., I naively used etcd3. And as far as I can tell it's working just fine !?!

Is my understanding correct, that the etcd3 support means making use of the gRPC interface of etcd3, but even without, constructr 0.17 works fine with etcd3 (because of etcd3's Json backwards compatibility)? From https://coreos.com/etcd/docs/latest/op-guide/v2-migration.html:
The data store v2 is still accessible from the API v2 after upgrading to etcd3. Thus, it will work as before and require no application changes.

What problems should I expect when using constructr 0.17 with etcd3?