FYI - Apache Curator's TreeCache (and upcoming CuratorCache) can pull down an entire tree of ZNodes and then you can write the data wherever you want.
-JZ > On May 15, 2020, at 1:32 PM, Enrico Olivelli <[email protected]> wrote: > > Nigam > Usually applications use Zookeeper for coordination, service discovery or > configuration management. > In these case is not useful to port data from dev/qa to/from production. > > Or do you need to export data in order to debug a problem? > > Btw the only option I know is to write a simple program that visits the > whole tree and dumps it to file. > You won't be able to capture/reconstruct exactly the tree due to the > presence of ephemeral/ttl/container nodes > > Maybe others on this list can share tools that I I not aware of. > > Hope that helps > > > Enrico > > Il Ven 15 Mag 2020, 20:26 Nigamananda Rout <[email protected]> ha > scritto: > >> Hello - I am looking for a programmatic solution so that I can export the >> ZooKeeper (in Cluster with SSL enabled) data to a file. >> I am looking for Export Options, so that I can export PROD Zookeeper data >> to QA/DEV/TEST ZooKeeper. >> Do we have any option for that. Any suggestions? >> >> >> * Using ZooKeeper v3.5 >> * ZooKeeper in Cluster >> * SSL is Enabled >> >> Regards, Nigam... >> >> >> >> This e-mail message and any files transmitted with it may contain >> confidential and proprietary information and are intended solely for the >> use of the individual or entity to which they are addressed. Any >> unauthorized review, use, disclosure or distribution is strictly >> prohibited. If you have received this e-mail in error please notify the >> sender by reply email and destroy all copies of the original message. Thank >> you for your cooperation. >>
