[Resolved] Error: Kafka TimeoutException in the Big Data cluster | Kafka | Hadoop

In this article, we will explain how to resolve the Kafka timeoutexception in the Big Data cluster for Kafka admins.



Error while executing ACL command: org.apache.kafka.common.errors.TimeoutException: Call(callName=createAcls, deadlineMs=1614282562516, tries=1, nextAllowedTryMs=1614282562617) timed out at 1614282562517 after 1 attempt(s)
java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Call(callName=createAcls, deadlineMs=1614282562516, tries=1, nextAllowedTryMs=1614282562617) timed out at 1614282562517 after 1 attempt(s)

Solution:

First, will check the Kafka server whether Kafka is running or not properly.

Incase Kafka is not running then restart the Kafka server using below command.

/bin/kafka-server-start -daemon /kafka/server.properties

If the Kafka servers are running but still getting Kafka timeoutexception error try with below resolution.

check the server.properties file and try to change the below configurations.

Check the below property:

bootstrap.servers = broker1:9092

If it is there then change it like below configurations.

advertised.listeners = PLAINTEXT://broker1:9092

bootstrap.servers = broker2:9092

Once the above configurations has been completed then restart the Kafka server using command line, don’t go with Ambari or Cloudera managers.

Summary: The above resolution is very simple for the Kafka Admins or Hadoop Admins. Kafka timeoutexcpetion is common error  in the Kafka cluster. Currently, Kafka is one of the biggest/trending technology  in the Medical, Transport, Financial domain.



Leave a Reply

Your email address will not be published. Required fields are marked *