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:
- Google Play googleapi: Error 403: Google Play Android Developer API has not been used in project
- Start failure: spawn CMD enoent error (How to Fix)
- Error using tensorflow GPU: could not create cudnn handle: cudnn_STATUS_NOT_INITIALIZED
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- Kubernetes reported an error: matchexpressions: [] v1. Labelselector requirement (NIL)}: field is immutable
- Error. Onload failed when ‘rjava’ was calculated in loadnamespace()
- How to Fix Webpack run error webpack dev server
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- K8S error validating data: ValidationError(Deployment.spec): missing required field selector
- An error occurred: Sorry,Faithfully yours, nginx Error
- Error when Struts2 started Tomcat: org.apache.catalina.core.StandardContext filterStart
- Error getting authority: Error initializing authority: Could not connect: No such file or directory
- How to Solve ERROR – unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
- Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…
- [How to Solve] Internal: blas sgemm launch failed
- No match for ‘operator =’ both ends of the equal sign do not match
- Windows update failed to update, indicating the solution of 0x80244021
- HTTP Error 500.30 – ANCM In-Process Start Failure
- SpringBoot Error running ‘Application’: Command line is too long.Shorten command line for
- TypeError: db.collection is not a function