Skip to content
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

Add zkutils package #53

Open
nemith opened this issue Mar 26, 2021 · 2 comments
Open

Add zkutils package #53

nemith opened this issue Mar 26, 2021 · 2 comments
Labels

Comments

@nemith
Copy link

nemith commented Mar 26, 2021

Java provides a JKUtil class with a bunch of static methods for doing common operations with zookeeper. I think we should follow this and keep the client expectations that one call to a method generates a message to the server and not try to overload this.

We can add things like #52

@nemith nemith added question Further information is requested proposal and removed question Further information is requested labels Mar 26, 2021
@nemith
Copy link
Author

nemith commented Mar 26, 2021

Potential methods to add:

DeleteRecusive(zk *zk.Client, path string, size int) error  
DeleteBatch(zk *zk.Client, paths []string, size int) error
Tree(zk *zk.Client, path string) []string, error
Walk(zk *zk.Client, path string, func(path string) error) error 

@nemith nemith closed this as completed Mar 26, 2021
@nemith nemith reopened this Mar 26, 2021
@linsite
Copy link

linsite commented Oct 11, 2021

I'm interested, can I take this task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants