Troubleshoot the Kafka Beat

Error Starting Consumer

The beat continually restarts, generating the following error:  

Error starting consumer: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)

troubleshoot1.JPG
Recommended solutions:

  1. Check the broker value in your Kafka server properties file and in the kafkabeat.yml file in the Kafka Beat configuration. Make sure the broker is running on the same IP and Port in both files.

  2. Check the SSL mode. If the SSL mode is enabled in the Kafka Beat, it must also be enabled on the Kafka sever.

Authentication Error

The beat continually restarts, generating the following error:

Error starting consumer: kafka server: SASL Authentication failed

SASL_AUTH_ER.PNG

Recommended solutions:

  1. Check your username to ensure it is correct.

  2. Check your password to ensure it is correct.

Kafka Topic Error

The beat continually restarts, generating the following error:

The client is not authorized to access this topic

 Recommended solutions:

  1. Check the topic name you have entered in the Kafka Beat configuration and ensure the same topic name exists in the Kafka server. Also make sure you have access permissions to that topic.