返回到文章

采纳

编辑于 8月前

kafka开始抓取消息报错

kafka

Kafka在抓取信息的时候报错

这是命令:

bin/kafka-console-consumer.sh --bootstrap-server hadoop01:9092 --from-beginning --topic topic_start

报错信息:

[2024-05-15 23:53:54,112] WARN [Consumer clientId=consumer-console-consumer-18267-1, groupId=console-consumer-18267] Error while fetching metadata with correlation id 2 : {topic_start=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2024-05-15 23:53:54,371] WARN [Consumer clientId=consumer-console-consumer-18267-1, groupId=console-consumer-18267] Error while fetching metadata with correlation id 4 : {topic_start=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2024-05-15 23:53:54,505] WARN [Consumer clientId=consumer-console-consumer-18267-1, groupId=console-consumer-18267] Error while fetching metadata with correlation id 6 : {topic_start=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)