Zk_shell: El Cliente Definitivo De Zookeeper
Here’s a quick one to kick off this category, “the quick ones”! And it’s so quick that I’m writing it while I compile the KafkaMirror client from Uber, uReplicator :)
Basically, after struggling for several days with KafkaMirror’s DC replication and realizing that the default client is as useful as a rock, I’ve learned things about ZooKeeper that aren’t in the documentation. In my desperation, and knowing that the python client, myCli, is much better than the original SQL client, I imagined that someone had done something similar for ZooKeeper… and they have:
Behold zk_shell!
1 | $ zk-shell localhost:2181 |
It allows you to copy between ZooKeepers, between the file system and ZooKeeper, has a find function, and even allows piping!
I’ve been using it for 45 minutes and it’s delightful (although it’s easy to improve on the original client).
Download it here: ZK_SHELL