Replication and zookeeper integration