Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

getting the changed value from etcd using listener #155

Open
naveenkumargp opened this issue Jul 28, 2017 · 1 comment
Open

getting the changed value from etcd using listener #155

naveenkumargp opened this issue Jul 28, 2017 · 1 comment

Comments

@naveenkumargp
Copy link

Hi All
i have scenario like when i set the data to key from etcd client ,at the same time i will add listener for that key and key may be a directory path .i e, directory may contain other directories as well as keys also.
and i added the listener method for the parent directory using promise object , now if i do any changes to child nodes or child key like adding new sub directory or setting new data to child key how listener will come to know that there is a change in directory structure, and how to get the exact change path as well as data.
can any one help for this.

Regards
Naveen

@naveenkumargp naveenkumargp changed the title getting the changed value form etcd using listner getting the changed value from etcd using listner Jul 28, 2017
@naveenkumargp naveenkumargp changed the title getting the changed value from etcd using listner getting the changed value from etcd using listener Jul 28, 2017
@lburgazzoli
Copy link
Collaborator

I think you can use the recursive() option

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

No branches or pull requests

2 participants