etcd-io / zetcd

Serve the Apache Zookeeper API but back it with an etcd cluster
Apache License 2.0
1.09k stars 94 forks source link

[Question/Feature] Etcd base key for zk schema #105

Open arizvisa opened 5 years ago

arizvisa commented 5 years ago

I did a quick search through the zk*.go source to see whether zetcd's schema will tamper with an already existing etcd schema. Afaict, it looks like zetcd writes the ZooKeeper schema to /zk on the etcd endpoint. Is this the case?

If not, is it possible to specify the base key for the schema to something like /zk? Or if so, would it be difficult to add the ability to specify the base key to something other than /zk? Would all one need to do would be to modify zketcd_path.go?