Skip to content

joblift/zk-replicator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

ZK Replicator is a zookeeper Data Backup Library for Zookeeper. The library provides on-demand replication of data across Zookeeper Clusters.

Building with Tests using Maven

 cd zk-replicator/
 mvn clean && mvn install -Pshade

Running an existing Zk Replicator Example

  • This assumes [zk ensemble] runs at 2181.

  • This example takes a source zk (from an ensemble) and destination zk host (from another ensemble) as parameter and clones all the data from source to destination.

#Example 1:  Clone all Zk Data from source to destination.

  - cd zk-replicator/target/
  - java -cp uber-zk-replicate-final.jar com.bloomreach.zk.replicate.ZkReplicator
    <source_zk>:2181 <destination_zk>:2181

Contributors

License

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

About

Zookeeper Replication Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%