Kafka启动报错

Kafka启动报错,第1张

Kafka启动报错 报错
[2022-01-06 18:22:32,330] ERROR [KafkaServer id=1005] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
org.apache.kafka.common.errors.CorruptRecordException: Found record size 0 smaller than minimum record overhead (14) in file /disk8/kafka/log/fanyilog_nmt-4/00000000010959587855.log.
ERROR Could not find offset index file corresponding to log file /XXXXX/XXXXX/00000000000000000000.log, rebuilding index... (kafka.log.Log)

解决

删除问题分区文件底下的.index索引文件,即可启动当前broker
但是这个是测试集群,还未验证是否会丢失未消费的数据

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5698979.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存