Kafka report error
Server.log output:
error when handling request {topics = [indexing]} (Kafka. Server. Kafkaapis)
kafka.admin.adminoperationexception: replication factor: 1 larger than available brokers: 0
Run kafka-console-producer.sh output
WARN Error while fetching metadata with correlation id 0 : {enrichments=LEADER_ NOT_ AVAILABLE} (org.apache.kafka.clients.NetworkClient)
Run kafka-console-consumer.sh to swipe the screen
{metadata.broker.list=node01.bdp:6667, request.timeout.ms=30000, client.id=console-consumer-73407, security.protocol=PLAINTEXT}
The general solution on the Internet points to Kafka. Due to the wrong configuration of server.properties, it is unable to connect to zookeeper correctly. The root cause is that Kafka and zookeeper cannot communicate normally. Repeated restart of Kafka is still invalid
After restarting zookeeper, Kafka is normal
Read More:
- Kafka Error while fetching metadata with correlation id 1 : {alarmHis=LEADER_NOT_AVAILABLE}
- [Solved] Kafka Error: kafka.common.InconsistentClusterIdException…
- Kafka executes the script to create topic error: error org apache. kafka. common. errors. InvalidReplicationFactorException: Replicati
- [Solved] kafka Startup Error: ERROR Shutdown broker because all log dirs in /…/kafka/logs have failed (kafka.log.LogManager)
- Kafka error: ERROR There was an error in one of the threads during logs loading: java.lang.NumberFormatException: For input string: “derby” (kafka.log.LogManager)
- [Solved] Win 10 Kafka error: failed to construct Kafka consumer
- [Solved] Kafka Error: InvalidReplicationFactorException: Replication factor:
- [Solved] Kafka2.3.0 Error: Timeout of 60000ms expired before the position for partition could be determined
- [Solved] kafka startup Error: java.net.ConnectException: Connection refused
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- jenkenis ERROR: Error fetching remote repo ‘origin‘ [How to Solve]
- Kafka Creates and Writes Logs Error [How to Solve]
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- [Solved] BLAST Database error: Error pre-fetching sequence data
- How to Solve canal & MYSQL or “Kafka cannot consume data” Error
- How to Solve Kafka Error: no leader
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup
- Nacos Click service offline error: caused: errCode: 500, errmsg: do metadata operation failed;
- [Solved] Kafka Restarts error | Cloudera Manager Access Returns 500 | HDFS Startup Error
- Mac M1 Start Virtual Machine Centos8 with PD to install Kafka error: Error: VM option ‘UseG1GC‘