-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support namespace API #67
Comments
This crate is just an etcd api wrapper, it does not support features that etcd not support. If |
Make sense. I'll wrap it in the application :D |
@davidli2010 a possible argue is that etcd's client library implement Do you think the Ref - https://github.com/etcd-io/etcd/blob/v3.5.10/client/v3/namespace/doc.go |
I'd like to reivew a PR of the |
@davidli2010 Thanks for your reply! Then let's reopen this issue first, as it's valid. I'll try to implement it, but it's not on my priority task list, so anyone please feel free to take it over. |
It's convenient to put/get keys in a "namespace" for separating different usage, or it's even required to smoothly write concurrent tests share the same etcd cluster.
This concept, in ZooKeeper, is named as Chroot. I don't find it in etcd but it should be a client-side feature. I create this issue for discussing whether it's desired to implement in this crate.
The API should affect only the constructors for accepting a chroot parameter/options:
... and all the keys pass to this client will be prepended with the "chroot".
The text was updated successfully, but these errors were encountered: