etcd4j
etcd4j copied to clipboard
getting the changed value from etcd using listener
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
I think you can use the recursive()
option