environment
springboot2 + kafka_ Kafka is a stand-alone environment
Error report
Error while fetching metadata with correlation id 1 : {alarmHis=LEADER_NOT_AVAILABLE}
Cause of error
Error getting metadata with correlation ID XX
Problem solving
-
- Modify
config\ server.properties
, as follows:
listeners=PLAINTEXT://localhost:9092
advertised.listeners=PLAINTEXT://localhost:9092
Restart Kafka and start the program to store
result
Smooth solution
Read More:
- kafka Error: Error while fetching metadata with correlation
- How to Solve Kafka Error: no leader
- [Solved] Kafka Error: kafka.common.InconsistentClusterIdException…
- [Solved] kafka Startup Error: ERROR Shutdown broker because all log dirs in /…/kafka/logs have failed (kafka.log.LogManager)
- [Solved] Win 10 Kafka error: failed to construct Kafka consumer
- Kafka executes the script to create topic error: error org apache. kafka. common. errors. InvalidReplicationFactorException: Replicati
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup
- 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] kafka startup Error: java.net.ConnectException: Connection refused
- Kafka Creates and Writes Logs Error [How to Solve]
- [Solved] Kafka Error: InvalidReplicationFactorException: Replication factor:
- [Solved] Kafka2.3.0 Error: Timeout of 60000ms expired before the position for partition could be determined
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- jenkenis ERROR: Error fetching remote repo ‘origin‘ [How to Solve]
- [Solved] BLAST Database error: Error pre-fetching sequence data
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- [Solved] Kafka Restarts error | Cloudera Manager Access Returns 500 | HDFS Startup Error
- How to Solve canal & MYSQL or “Kafka cannot consume data” Error
- [Solved] OpenCV VideoWriter Error: FFMPEG: tag ‘MP4V‘ is not supported with codec id 12 and format mp4