关闭代理,因为所有日志目录均失败

时间:2019-10-29 05:00:55

标签: apache-kafka

[2019-10-29 10:09:36,903] INFO [ReplicaManager broker=0] Broker 0 stopped fetcher for partitions __consumer_offsets-30,__consumer_offsets-8,__consumer_offsets-4,__consumer_offsets-27,__consumer_offsets-7,__consumer_offsets-46,__consumer_offsets-33,__consumer_offsets-23,__consumer_offsets-49,__consumer_offsets-36,__consumer_offsets-42,topic-0,__consumer_offsets-17,__consumer_offsets-48,__consumer_offsets-11,__consumer_offsets-14,__consumer_offsets-20,__consumer_offsets-0,__consumer_offsets-39,__consumer_offsets-45,__consumer_offsets-1,__consumer_offsets-26,__consumer_offsets-29,__consumer_offsets-10 and stopped moving logs for partitions  because they are in the failed log directory C:\tmp\kafka-logs. (kafka.server.ReplicaManager)
[2019-10-29 10:09:36,908] INFO Stopping serving logs in dir C:\tmp\kafka-logs (kafka.log.LogManager)
[2019-10-29 10:09:36,952] ERROR Shutdown broker because all log dirs in C:\tmp\kafka-logs have failed (kafka.log.LogManager)

我已经开始了动物园管理员,卡夫卡和制片人。但是当我尝试立即使用数据时,Windows中会出现此错误 命令:.\bin\windows\Kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic topic

1 个答案:

答案 0 :(得分:0)

我遇到了类似的问题,不得不反复试验。但是我最终要做的是禁用其他JRE版本,只启用一个。参见附件。由于经纪人不再崩溃,这似乎已经解决了我的问题。Java Runtime Environment