Skip to content

Instantly share code, notes, and snippets.

@knadh
Created February 20, 2020 06:37
Show Gist options
  • Save knadh/ae8f02f2854cdd8f654a02b9b1d4bd40 to your computer and use it in GitHub Desktop.
Save knadh/ae8f02f2854cdd8f654a02b9b1d4bd40 to your computer and use it in GitHub Desktop.

Unable to get cluster admin: kafka: controller is not available

If you get this error and don't want to waste hours trying to debug why kaf is unable to communicate with a Kafka cluster, make sure you have an entry in the hosts file for the system's hostname that resolves to self (127.0.0.1), if your cluster is running locally.

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