org.apache.kafka.clients.NetworkClient : [Producer clientId=producer-1] Error while fetching metad

2020-08-19 22:55:56.089  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 483 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.205  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 484 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.328  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 485 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.434  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 486 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.552  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 487 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.663  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 488 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.782  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 489 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.891  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 490 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:56.998  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 491 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.106  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 492 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.213  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 493 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.320  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 494 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.427  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 495 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.535  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 496 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.640  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 497 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.745  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 498 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.852  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 499 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:57.956  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 500 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:58.064  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 501 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:58.172  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 502 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:58.278  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 503 : {abc_001=LEADER_NOT_AVAILABLE}
2020-08-19 22:55:58.385  WARN [-,,,] 35672 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-1] Error while fetching metadata with correlation id 504 : {abc_001=LEADER_NOT_AVAILABLE}

Modify the client.id of the kafka cluster. After sending a message, this problem occurs. The solution is to log in to the zookeeper cluster and delete the brokers

Guess you like

Origin blog.csdn.net/AntdonYu/article/details/108113305