This usage is based on the project of https://github.com/birdayz/kaf
- A Kafka cluster in your Kubernetes Cluster
- If you're in China, Please make sure you have the proxy setup in your Kubernetes cluster as what I did
kubectl -n kafka run --generator=run-pod/v1 kafka-cli --image golang:alpine --rm -it --command ash
apk update && apk add curl
export https_proxy="http://proxy-service.namespace:7890"
curl -s https://raw.githubusercontent.com/birdayz/kaf/master/godownloader.sh | sh -s v0.1.32
alias kaf=/root/bin/kaf
kaf config add-cluster local -b kafka-bootstrap:9092
kaf config select-cluster
kaf node ls