etcd4j icon indicating copy to clipboard operation
etcd4j copied to clipboard

getting the changed value from etcd using listener

Open naveenkumargp opened this issue 7 years ago • 1 comments

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 avatar Jul 28 '17 05:07 naveenkumargp

I think you can use the recursive() option

lburgazzoli avatar Jul 30 '17 13:07 lburgazzoli