Skip to content

Instantly share code, notes, and snippets.

@hongkongkiwi
Last active May 16, 2018 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hongkongkiwi/4da2d34811f03c8b823b7780ea89f985 to your computer and use it in GitHub Desktop.
Save hongkongkiwi/4da2d34811f03c8b823b7780ea89f985 to your computer and use it in GitHub Desktop.
Get Zookeeper info from Bash

Useful Zookeeper & Kafka CLI tools

Install Zeke pip install zeke

Install JQ brew install jq

Install Kefkacat brew install kefkacat

Send a file to a topic kafkacat -P -b localhost -t filedrop -p 0 filename.zip

Get a Kafka Server info. Other Key-Values here zeke -a localhost:2181 -g /brokers/ids/1 | jq '.host'

Auto sync file to JSON in zookeeper with zkFarmer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment