我正在尝试在Windows计算机上运行kafka服务器。跟随了 如此处kafka on windows
所述错误:
[2018-08-24 11:09:01,915] INFO [ReplicaManager broker=0] Stopping serving replic
as in dir C:\Logs\kafka-logs (kafka.server.ReplicaManager)
[2018-08-24 11:09:01,919] ERROR [ReplicaManager broker=0] Error while making bro
ker the leader for partition Topic: __consumer_offsets; Partition: 18; Leader: N
one; AllReplicas: ; InSyncReplicas: in dir None (kafka.server.ReplicaManager)
org.apache.kafka.common.errors.KafkaStorageException: Error while creating log f
or __consumer_offsets-18 in dir C:\Logs\kafka-logs
Caused by: java.io.IOException: Map failed
我清除了日志并重新启动了机器,但是没有运气。
我能够启动kafka服务器。能够创建主题,使用kafka-console-producer.bat发送消息
现在,一旦我启动消费者,就会出现错误。错误如下所示。
任何人都可以帮助找出问题所在吗?
谢谢