adplus-dvertising

Kafka cluster verification

Asked 2 days ago
Viewed 6 times

I have a problem now that Kafka data is piled up, but only one machine is like this, now my problem is that there is no kafka client on the server I am on, and I don't know the zookeeper address, how can I verify the cluster is normal?

asked 2 days ago

Correct Answer

You need a Kafka client installed to communicate with the cluster, so install one.

E.g On Ubuntu

apt-get install -y kcat
kcat -L -b kafka-address:9092  # check cluster connectivity

You don't need Zookeeper, and it wouldn't show anything useful

Alternatively, tell your Kafka administrator to setup monitoring tools so you don't need to install/run random CLI tools / scripts.

answered 2 days ago